Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 108 kB / 16.41 MB, free: 6.508 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.001394/0.001394, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7826/0.784, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002972/0.7871, allocations: 1.502 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.7885, allocations: 0.7245 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.7885, allocations: 4 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.7886, allocations: 3.938 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.671e-05/0.7887, allocations: 11.86 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.7893, allocations: 123.6 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.7894, allocations: 71.77 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.7895, allocations: 19.95 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.7896, allocations: 43.83 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.7897, allocations: 35.84 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.7898, allocations: 8 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.79, allocations: 87.91 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.79, allocations: 19.97 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.79, allocations: 39.73 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.7903, allocations: 143.3 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.7903, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7903, allocations: 4 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.7903, allocations: 0 / 1.211 GB, free: 10.77 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006674/0.791, allocations: 419 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7911, allocations: 8.031 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.7911, allocations: 12.84 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.7912, allocations: 172.3 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.7913, allocations: 384 / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.7913, allocations: 8.375 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.7915, allocations: 81.89 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.7916, allocations: 0 / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.7916, allocations: 3.984 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.7916, allocations: 0 / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.7917, allocations: 39.97 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.7923, allocations: 312.7 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.7925, allocations: 50.5 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/0.7926, allocations: 44.89 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.7926, allocations: 0 / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.7928, allocations: 75.38 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.7928, allocations: 3.938 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003853/0.7932, allocations: 149.5 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.7933, allocations: 51.41 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.7934, allocations: 125.7 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.7934, allocations: 25.7 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.7935, allocations: 92.14 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.7935, allocations: 7.812 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.7935, allocations: 33.7 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.7937, allocations: 326.8 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.7938, allocations: 27.98 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.7938, allocations: 42.56 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.794, allocations: 78.48 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.794, allocations: 0 / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002388/0.7943, allocations: 113.8 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7943, allocations: 4 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.7943, allocations: 4.078 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.7943, allocations: 0 / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/0.7944, allocations: 15.98 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7944, allocations: 3.984 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.7945, allocations: 12 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.7945, allocations: 4 kB / 1.213 GB, free: 8.227 MB / 0.9356 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 9.486e-05/0.7946, allocations: 125.7 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.7947, allocations: 11.84 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.7947, allocations: 8.375 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.7947, allocations: 4 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7947, allocations: 0 / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7947, allocations: 0 / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.7951, allocations: 378.5 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7952, allocations: 0 / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.7952, allocations: 11.92 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7952, allocations: 0 / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.7952, allocations: 0 / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7952, allocations: 8 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.7952, allocations: 3.938 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.7955, allocations: 211.4 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.7956, allocations: 85.02 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.7956, allocations: 4 kB / 1.214 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.7957, allocations: 4 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.7958, allocations: 7.922 kB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.7958, allocations: 4 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.7958, allocations: 91.92 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7958, allocations: 0 / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003164/0.7962, allocations: 51.86 kB / 1.214 GB, free: 7.133 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: 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.0003385/0.7965, allocations: 164.6 kB / 1.215 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.7968, allocations: 71.91 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7968, allocations: 128 / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.837e-05/0.7969, allocations: 43.91 kB / 1.215 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.7971, allocations: 4 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.7975, allocations: 210 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.7978, allocations: 0.6846 MB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.7978, allocations: 11.44 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.7978, allocations: 4 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of Templates: time 0.003571/0.8014, allocations: 1.618 MB / 1.217 GB, free: 4.277 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches