Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 106.7 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.001244/0.001244, allocations: 187 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 67.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7805/0.7818, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002738/0.7846, allocations: 1.487 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.7859, allocations: 0.7323 MB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.786, allocations: 0 / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.558e-05/0.7861, allocations: 3.938 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.7861, allocations: 15.86 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.7867, allocations: 119.6 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.7869, allocations: 75.78 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.787, allocations: 27.92 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.7871, allocations: 35.86 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.7871, allocations: 39.83 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.7872, allocations: 8 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.7874, allocations: 87.86 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.7874, allocations: 23.95 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.7875, allocations: 31.8 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.7877, allocations: 139.3 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7877, allocations: 8 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7877, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7877, allocations: 0 / 1.211 GB, free: 10.8 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.0006217/0.7883, allocations: 415 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.7884, allocations: 12.03 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.7884, allocations: 12.84 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.7886, allocations: 176.3 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.7886, allocations: 384 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.7886, allocations: 8.312 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.7888, allocations: 77.97 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.7888, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.7888, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7889, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.789, allocations: 35.97 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.7897, allocations: 320.7 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.7898, allocations: 50.48 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.7899, allocations: 32.97 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.79, allocations: 0 / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.7902, allocations: 83.36 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.7902, allocations: 7.938 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003933/0.7906, allocations: 137.5 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.7906, allocations: 55.41 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.7907, allocations: 129.7 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.7908, allocations: 25.7 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.7908, allocations: 88.14 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.7909, allocations: 11.81 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.7909, allocations: 33.7 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.791, allocations: 330.7 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.7911, allocations: 23.98 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.135e-05/0.7912, allocations: 50.92 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.7914, allocations: 74.5 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7914, allocations: 0 / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002386/0.7916, allocations: 117.5 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7917, allocations: 4 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7917, allocations: 0 / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7917, allocations: 4 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.7918, allocations: 11.98 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.7918, allocations: 0 / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.7919, allocations: 16 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.7919, allocations: 7.984 kB / 1.213 GB, free: 8.246 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.412e-05/0.792, allocations: 121.7 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.792, allocations: 11.89 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.7921, allocations: 8.375 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.7921, allocations: 4 kB / 1.214 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7921, allocations: 3.938 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7921, allocations: 0 / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.7926, allocations: 382.4 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7926, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.7926, allocations: 7.984 kB / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.7926, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.7927, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7927, allocations: 0 / 1.214 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.7927, allocations: 7.938 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.793, allocations: 215.4 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.793, allocations: 81.02 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.793, allocations: 4 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.7931, allocations: 3.984 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.7932, allocations: 11.94 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.7932, allocations: 4 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.7932, allocations: 91.27 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.443e-06/0.7932, allocations: 4 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003205/0.7936, allocations: 47.86 kB / 1.214 GB, free: 7.152 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.0003348/0.7939, allocations: 155.3 kB / 1.215 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.7942, allocations: 71.91 kB / 1.215 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7942, allocations: 4.125 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.623e-05/0.7943, allocations: 35.97 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.7945, allocations: 12.48 kB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.7949, allocations: 206 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.7952, allocations: 0.6846 MB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.7952, allocations: 19.42 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of SimCode: time 1.573e-06/0.7952, allocations: 4 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of Templates: time 0.003344/0.7986, allocations: 1.615 MB / 1.217 GB, free: 4.305 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches