Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_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.006258/0.006258, allocations: 105 kB / 15.74 MB, free: 5.992 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.001401/0.001401, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8776, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002815/0.8805, allocations: 1.592 MB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.8819, allocations: 0.779 MB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.882, allocations: 3.938 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.8821, allocations: 3.938 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.8822, allocations: 23.8 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.8828, allocations: 151.5 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.883, allocations: 135.6 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.8831, allocations: 15.98 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.8833, allocations: 55.83 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.8834, allocations: 75.78 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.8834, allocations: 12 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.8837, allocations: 103.8 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.8837, allocations: 35.89 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.8838, allocations: 51.72 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.8841, allocations: 189.8 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8841, allocations: 4 kB / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8841, allocations: 0 / 1.21 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.8841, allocations: 0 / 1.21 GB, free: 10.33 MB / 0.9356 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.000732/0.8849, allocations: 490.3 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.8849, allocations: 8.031 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.885, allocations: 42.73 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.885, allocations: 16.78 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.8851, allocations: 184.7 kB / 1.211 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.8852, allocations: 8.359 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.8852, allocations: 11.94 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.8854, allocations: 93.62 kB / 1.211 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.8855, allocations: 0 / 1.211 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.8855, allocations: 4 kB / 1.211 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.8855, allocations: 4 kB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.8857, allocations: 63.89 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.8866, allocations: 376.5 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.8868, allocations: 62.55 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.8869, allocations: 56.83 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.8869, allocations: 3.938 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.8872, allocations: 103.3 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.8872, allocations: 0 / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0005766/0.8878, allocations: 213.4 kB / 1.212 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.8878, allocations: 59.41 kB / 1.212 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.888, allocations: 140.2 kB / 1.212 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.888, allocations: 29.7 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.8881, allocations: 104.5 kB / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.8881, allocations: 23.73 kB / 1.212 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.8882, allocations: 33.7 kB / 1.212 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8883, allocations: 322.8 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.8884, allocations: 39.97 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.8885, allocations: 80.2 kB / 1.213 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.8888, allocations: 108.2 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8888, allocations: 0 / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003448/0.8892, allocations: 161.4 kB / 1.213 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8892, allocations: 8 kB / 1.213 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.8892, allocations: 0 / 1.213 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.8892, allocations: 4 kB / 1.213 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.8894, allocations: 23.86 kB / 1.213 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.8894, allocations: 0 / 1.213 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.8895, allocations: 15.92 kB / 1.213 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.8895, allocations: 8 kB / 1.213 GB, free: 7.207 MB / 0.9356 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 9.901e-05/0.8896, allocations: 121.9 kB / 1.213 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.8897, allocations: 11.91 kB / 1.213 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.8897, allocations: 12.7 kB / 1.213 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.8897, allocations: 11.97 kB / 1.213 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8897, allocations: 0 / 1.213 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.8898, allocations: 0 / 1.213 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.8904, allocations: 462.4 kB / 1.214 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.8904, allocations: 480 / 1.214 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.47e-05/0.8905, allocations: 11.94 kB / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8905, allocations: 3.984 kB / 1.214 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.8905, allocations: 4 kB / 1.214 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.8905, allocations: 4 kB / 1.214 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8905, allocations: 3.938 kB / 1.214 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.8909, allocations: 267.3 kB / 1.214 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.891, allocations: 92.89 kB / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.891, allocations: 0 / 1.214 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.8911, allocations: 11.98 kB / 1.214 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.8912, allocations: 4 kB / 1.214 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.8912, allocations: 7.984 kB / 1.214 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.704e-05/0.8913, allocations: 103.3 kB / 1.214 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.513e-06/0.8913, allocations: 0 / 1.214 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003333/0.8916, allocations: 55.92 kB / 1.214 GB, free: 5.934 MB / 0.9356 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.0009682/0.8926, allocations: 0.8633 MB / 1.215 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.8929, allocations: 107.9 kB / 1.215 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.893, allocations: 0 / 1.215 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.8931, allocations: 59.95 kB / 1.215 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.8934, allocations: 15.56 kB / 1.215 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.8954, allocations: 1.719 MB / 1.217 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.8957, allocations: 0.7002 MB / 1.218 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.308e-05/0.8958, allocations: 12.08 kB / 1.218 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.8958, allocations: 31.42 kB / 1.218 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.8959, allocations: 0 / 1.218 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.916, allocations: 3.452 MB / 1.221 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/8.464, allocations: 4.062 kB / 1.221 GB, free: 14.99 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches