Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 106.3 kB / 16.41 MB, free: 6.457 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.0015/0.0015, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.451/1.451, allocations: 222.9 MB / 241 MB, free: 15.07 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.251/2.251, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7796/0.781, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002416/0.7835, allocations: 1.505 MB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.7847, allocations: 0.7283 MB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.7848, allocations: 0 / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.7848, allocations: 5.156 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.7849, allocations: 11.17 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.7854, allocations: 124.9 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.7856, allocations: 80.69 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.7857, allocations: 11.75 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.7857, allocations: 35.34 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.483e-05/0.7858, allocations: 41.08 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.7859, allocations: 6.594 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.7861, allocations: 94.06 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.7861, allocations: 23.34 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.7862, allocations: 31.92 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.7864, allocations: 138.1 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7864, allocations: 0 / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7864, allocations: 1 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.7864, allocations: 0 / 1.091 GB, free: 3.738 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005563/0.787, allocations: 421.9 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.787, allocations: 9.625 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.7871, allocations: 12.81 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.455e-05/0.7872, allocations: 177.3 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.7872, allocations: 7.078 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.7872, allocations: 5.422 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.7874, allocations: 72.5 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.7874, allocations: 0 / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.7875, allocations: 1.953 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.7875, allocations: 0.9375 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.7876, allocations: 35.45 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.7882, allocations: 322 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.7883, allocations: 45.64 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.337e-05/0.7884, allocations: 32.41 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.7884, allocations: 1.719 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.7886, allocations: 89.48 kB / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.7886, allocations: 0 / 1.093 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003988/0.789, allocations: 136.9 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.7891, allocations: 54.31 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.7892, allocations: 118.8 kB / 1.093 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.7892, allocations: 31.39 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.7892, allocations: 96.48 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.7893, allocations: 11.48 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.7893, allocations: 25 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.739e-05/0.7894, allocations: 324.3 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.564e-05/0.7895, allocations: 31.16 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.725e-05/0.7895, allocations: 46.23 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.7897, allocations: 80.62 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7897, allocations: 0 / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002261/0.7899, allocations: 112.9 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.79, allocations: 5.766 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.79, allocations: 9.156 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.79, allocations: 0.875 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.722e-05/0.7901, allocations: 15.59 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.7901, allocations: 2.484 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.7902, allocations: 12.95 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.7902, allocations: 3.578 kB / 1.094 GB, free: 1.75 MB / 0.8575 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 6.384e-05/0.7903, allocations: 123.4 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.7903, allocations: 8.609 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.7903, allocations: 10.58 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7903, allocations: 0.9375 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7903, allocations: 0 / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7904, allocations: 1.484 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.7907, allocations: 386.6 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7908, allocations: 4 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/0.7908, allocations: 5.984 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7908, allocations: 0.5312 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.7908, allocations: 6.625 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7908, allocations: 0.5625 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7908, allocations: 3.938 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.7911, allocations: 212.4 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.7911, allocations: 78.67 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.7912, allocations: 6.297 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.7913, allocations: 5.031 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.7913, allocations: 12.2 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.7913, allocations: 6.766 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.7914, allocations: 96.5 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7914, allocations: 0 / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003278/0.7917, allocations: 46.2 kB / 1.095 GB, free: 0.8867 MB / 0.8575 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.0003018/0.792, allocations: 159.2 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.7923, allocations: 72.23 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7923, allocations: 0.7188 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.7924, allocations: 36.56 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.7926, allocations: 9.781 kB / 1.095 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.793, allocations: 211 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.7932, allocations: 0.6875 MB / 1.096 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.7932, allocations: 11.41 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.7932, allocations: 0 / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.003873/0.7971, allocations: 1.625 MB / 1.097 GB, free: 15.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches