Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.0009954/0.0009954, allocations: 108 kB / 15.61 MB, free: 152 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.0009664/0.0009664, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.212/1.212, 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.245/2.245, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6725, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002784/0.6753, allocations: 1.586 MB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.6765, allocations: 0.7723 MB / 0.952 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.6766, allocations: 4.781 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.6767, allocations: 7.875 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.6767, allocations: 22.89 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.6773, allocations: 147.8 kB / 0.9522 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.6774, allocations: 132.8 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.6775, allocations: 27.59 kB / 0.9523 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.821e-05/0.6777, allocations: 61.41 kB / 0.9524 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.6778, allocations: 73.91 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.6778, allocations: 11.38 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.678, allocations: 103.2 kB / 0.9526 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.678, allocations: 28.91 kB / 0.9526 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.6781, allocations: 50.84 kB / 0.9527 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.6783, allocations: 188.8 kB / 0.9528 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6783, allocations: 3.938 kB / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6784, allocations: 0 / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.6784, allocations: 4 kB / 0.9529 GB, free: 6.777 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006561/0.679, allocations: 491.1 kB / 0.9533 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.6791, allocations: 8.875 kB / 0.9533 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.6791, allocations: 32.34 kB / 0.9534 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.6792, allocations: 18.25 kB / 0.9534 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.6793, allocations: 183 kB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.6793, allocations: 15.53 kB / 0.9536 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.6793, allocations: 9.031 kB / 0.9536 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.6795, allocations: 100.2 kB / 0.9537 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6796, allocations: 0 / 0.9537 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.6796, allocations: 0 / 0.9537 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6796, allocations: 1.375 kB / 0.9537 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.6798, allocations: 61.61 kB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000724/0.6805, allocations: 383.8 kB / 0.9541 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.6807, allocations: 66.48 kB / 0.9542 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.6808, allocations: 51.8 kB / 0.9542 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.6808, allocations: 1.219 kB / 0.9542 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.681, allocations: 103.3 kB / 0.9543 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.681, allocations: 0 / 0.9543 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005058/0.6816, allocations: 214.6 kB / 0.9545 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.6816, allocations: 58.22 kB / 0.9546 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.154e-05/0.6817, allocations: 153.7 kB / 0.9547 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.6817, allocations: 30.95 kB / 0.9547 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.6817, allocations: 92.62 kB / 0.9548 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.6818, allocations: 26.56 kB / 0.9549 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.6818, allocations: 35.48 kB / 0.9549 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.665e-05/0.6819, allocations: 321.7 kB / 0.9552 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.682, allocations: 34.02 kB / 0.9552 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.6821, allocations: 86.47 kB / 0.9553 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.6823, allocations: 110.2 kB / 0.9554 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6824, allocations: 0 / 0.9554 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002932/0.6826, allocations: 156.7 kB / 0.9556 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.6827, allocations: 4.062 kB / 0.9556 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6827, allocations: 0 / 0.9556 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.6827, allocations: 2.531 kB / 0.9556 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.6828, allocations: 22.17 kB / 0.9556 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6828, allocations: 11.95 kB / 0.9556 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.6829, allocations: 22.98 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.683, allocations: 3.5 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.226e-05/0.683, allocations: 121.2 kB / 0.9557 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.6831, allocations: 11.59 kB / 0.9558 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.6831, allocations: 16.05 kB / 0.9558 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6831, allocations: 3.938 kB / 0.9558 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6831, allocations: 3.281 kB / 0.9558 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6831, allocations: 4 kB / 0.9558 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/0.6836, allocations: 454.8 kB / 0.9562 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6836, allocations: 8 kB / 0.9562 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.6837, allocations: 14.86 kB / 0.9562 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6837, allocations: 3.938 kB / 0.9562 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.6837, allocations: 1.25 kB / 0.9562 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6837, allocations: 1.125 kB / 0.9562 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6837, allocations: 4 kB / 0.9562 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.6841, allocations: 267 kB / 0.9565 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.6841, allocations: 94.77 kB / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.6841, allocations: 1.25 kB / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.6843, allocations: 13.36 kB / 0.9566 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.6843, allocations: 7.422 kB / 0.9566 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.6843, allocations: 6.531 kB / 0.9566 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.6844, allocations: 104.3 kB / 0.9567 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6844, allocations: 0 / 0.9567 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003065/0.6847, allocations: 47.83 kB / 0.9568 GB, free: 3.254 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008686/0.6856, allocations: 0.8599 MB / 0.9576 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.686, allocations: 113.5 kB / 0.9577 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.686, allocations: 1.312 kB / 0.9577 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.6861, allocations: 59.22 kB / 0.9578 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.6864, allocations: 11.05 kB / 0.9578 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.6881, allocations: 1.715 MB / 0.9595 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.6882, allocations: 0.7054 MB / 0.9601 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.809e-05/0.6883, allocations: 4.531 kB / 0.9602 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.6884, allocations: 32.02 kB / 0.9602 GB, free: 156 kB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6884, allocations: 0 / 0.9602 GB, free: 156 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.561/1.249, allocations: 3.352 MB / 0.9635 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.976/10.23, allocations: 7.438 kB / 0.9635 GB, free: 14.42 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches