Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009974/0.009974, allocations: 104.1 kB / 15.74 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002564/0.002564, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002106, allocations: 60.14 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.898/0.9001, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002938/0.9031, allocations: 1.632 MB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.9045, allocations: 0.7887 MB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.9046, allocations: 1.062 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.907e-05/0.9047, allocations: 10.7 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.762e-05/0.9048, allocations: 31.8 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006622/0.9054, allocations: 156.1 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.9057, allocations: 153.1 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.9058, allocations: 17.52 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.906, allocations: 70.7 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.9061, allocations: 80.66 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.9061, allocations: 13.41 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.9064, allocations: 104.1 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.9065, allocations: 32.08 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.9065, allocations: 62.39 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.9069, allocations: 206.3 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9069, allocations: 0 / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9069, allocations: 0 / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.9069, allocations: 5 kB / 1.091 GB, free: 3.188 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007678/0.9077, allocations: 0.5327 MB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.9077, allocations: 9.25 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.9078, allocations: 38.97 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.9078, allocations: 10.22 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.385e-05/0.9079, allocations: 188.8 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.908, allocations: 8.547 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.908, allocations: 5.219 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.9085, allocations: 149.6 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9085, allocations: 0 / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.9085, allocations: 5.344 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.9085, allocations: 1.531 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.9089, allocations: 109.2 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008102/0.9098, allocations: 375.9 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.9101, allocations: 98.69 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.9105, allocations: 85.73 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.9105, allocations: 14.09 kB / 1.092 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000501/0.911, allocations: 140.7 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.803e-06/0.911, allocations: 0 / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001168/0.9122, allocations: 302.4 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.9122, allocations: 62.36 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.9124, allocations: 149.5 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.9124, allocations: 30.48 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.9125, allocations: 100.1 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.9125, allocations: 24.92 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.9126, allocations: 31.72 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.9126, allocations: 324.7 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.9128, allocations: 43.08 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.913, allocations: 82.23 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.9132, allocations: 124.8 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9132, allocations: 0.7812 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004064/0.9136, allocations: 160.9 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9137, allocations: 6.406 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9137, allocations: 1.594 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.9137, allocations: 2.031 kB / 1.094 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.9139, allocations: 24.03 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.9139, allocations: 2.969 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.914, allocations: 16.42 kB / 1.094 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.914, allocations: 9.75 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.9142, allocations: 128.2 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.9142, allocations: 8.906 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.16e-05/0.9142, allocations: 12.98 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.9142, allocations: 1.375 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9143, allocations: 0.7969 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9143, allocations: 0.625 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.9153, allocations: 0.5322 MB / 1.095 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9153, allocations: 1.625 kB / 1.095 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.9154, allocations: 20.58 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.9154, allocations: 0.9375 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.9154, allocations: 3.094 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.9155, allocations: 9.703 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9155, allocations: 0.8438 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007656/0.9162, allocations: 331.2 kB / 1.095 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.9163, allocations: 88.91 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.9163, allocations: 2.219 kB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.9166, allocations: 24 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.9167, allocations: 11.5 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.9167, allocations: 5.141 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.686e-05/0.9168, allocations: 113.7 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9168, allocations: 0 / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004014/0.9172, allocations: 45.47 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001514/0.9187, allocations: 0.9341 MB / 1.096 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006124/0.9194, allocations: 144.9 kB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9194, allocations: 1.094 kB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.9198, allocations: 91.53 kB / 1.096 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.9201, allocations: 17.94 kB / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.9242, allocations: 1.77 MB / 1.098 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.9248, allocations: 0.6981 MB / 1.099 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.54e-05/0.9249, allocations: 6.469 kB / 1.099 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.925, allocations: 39.55 kB / 1.099 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of SimCode: time 8.71e-07/0.925, allocations: 0.8438 kB / 1.099 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.9495, allocations: 3.533 MB / 1.102 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.647, allocations: 7.328 kB / 1.102 GB, free: 12.37 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches