Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.001096/0.001096, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.296/2.296, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.5601, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003193/0.5633, allocations: 1.494 MB / 0.9512 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.5647, allocations: 0.7334 MB / 0.9519 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.896e-05/0.5648, allocations: 1.281 kB / 0.9519 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.5649, allocations: 7.922 kB / 0.9519 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.475e-05/0.5649, allocations: 9.094 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.5655, allocations: 126.7 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.958e-05/0.5656, allocations: 78.33 kB / 0.9521 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.5657, allocations: 18.3 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.5658, allocations: 34.22 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.5659, allocations: 38.58 kB / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.5659, allocations: 6.438 kB / 0.9522 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.5661, allocations: 98.5 kB / 0.9523 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.5661, allocations: 14.92 kB / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.5662, allocations: 31.05 kB / 0.9523 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.5664, allocations: 136 kB / 0.9525 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5664, allocations: 1.344 kB / 0.9525 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5664, allocations: 0 / 0.9525 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.5664, allocations: 4 kB / 0.9525 GB, free: 7.086 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005492/0.567, allocations: 432.1 kB / 0.9529 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.567, allocations: 9.562 kB / 0.9529 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.5671, allocations: 32.56 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.5671, allocations: 3.75 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.128e-05/0.5672, allocations: 176.8 kB / 0.9531 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.5672, allocations: 6.062 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.5672, allocations: 4.562 kB / 0.9531 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.5674, allocations: 75.47 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.5674, allocations: 0 / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5674, allocations: 1 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5674, allocations: 5.141 kB / 0.9532 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.5676, allocations: 35.91 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.568, allocations: 322.1 kB / 0.9535 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.5682, allocations: 53.27 kB / 0.9536 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.5683, allocations: 31.5 kB / 0.9536 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.5683, allocations: 5.188 kB / 0.9536 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.5685, allocations: 80.88 kB / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.5685, allocations: 0 / 0.9537 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003403/0.5688, allocations: 137.4 kB / 0.9538 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.5688, allocations: 52.59 kB / 0.9539 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.379e-05/0.5689, allocations: 124.5 kB / 0.954 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.5689, allocations: 31.39 kB / 0.954 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.569, allocations: 87.17 kB / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.569, allocations: 21.34 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.569, allocations: 34.31 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.5691, allocations: 325 kB / 0.9545 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.511e-05/0.5692, allocations: 26.92 kB / 0.9545 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.5692, allocations: 48.95 kB / 0.9545 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.5694, allocations: 72.38 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5694, allocations: 1.375 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002039/0.5696, allocations: 113.1 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5696, allocations: 4.812 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5696, allocations: 1.125 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.5696, allocations: 1 kB / 0.9547 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.5697, allocations: 12.14 kB / 0.9547 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5698, allocations: 5.609 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.5698, allocations: 16.48 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5698, allocations: 6.656 kB / 0.9548 GB, free: 4.887 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.934e-05/0.5699, allocations: 122.5 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.5699, allocations: 7.25 kB / 0.9549 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.5699, allocations: 10.62 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.57, allocations: 0 / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.57, allocations: 1.062 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.57, allocations: 7.984 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.5703, allocations: 383.4 kB / 0.9553 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5703, allocations: 3.984 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.5704, allocations: 3.688 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5704, allocations: 0 / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.5704, allocations: 1.156 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5704, allocations: 5.188 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5704, allocations: 0 / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.5706, allocations: 209.3 kB / 0.9555 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.5706, allocations: 87.39 kB / 0.9556 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.5707, allocations: 1.438 kB / 0.9556 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.5708, allocations: 10.39 kB / 0.9556 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.5708, allocations: 7.375 kB / 0.9556 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.5708, allocations: 1.344 kB / 0.9556 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.5709, allocations: 100.8 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5709, allocations: 0 / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000285/0.5712, allocations: 40.42 kB / 0.9557 GB, free: 3.977 MB / 0.7169 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0005915/0.5718, allocations: 0.8063 MB / 0.9565 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.572, allocations: 70.69 kB / 0.9566 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.572, allocations: 0 / 0.9566 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.74e-05/0.5721, allocations: 40.94 kB / 0.9566 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.5724, allocations: 16.47 kB / 0.9566 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.5736, allocations: 1.479 MB / 0.9581 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.803e-05/0.5737, allocations: 0.6881 MB / 0.9587 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.5738, allocations: 11.53 kB / 0.9587 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.5738, allocations: 19.53 kB / 0.9588 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/0.5738, allocations: 0 / 0.9588 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.5926, allocations: 2.598 MB / 0.9613 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/7.906, allocations: 13.91 kB / 0.9613 GB, free: 15.7 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv. Warning: Get data of variable win.on from file Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset