Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_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_10_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.0009188/0.0009187, allocations: 92.23 kB / 16.02 MB, free: 80 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.001403/0.001404, allocations: 184.7 kB / 16.92 MB, free: 6.926 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.595/2.595, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003388, allocations: 12 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5671/0.5674, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001653/0.5691, allocations: 1.219 MB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.5704, allocations: 0.7131 MB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.881e-05/0.5704, allocations: 3.938 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.5705, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.5705, allocations: 15.92 kB / 1.026 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.571, allocations: 111.7 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.5712, allocations: 71.77 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.5712, allocations: 8 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.5713, allocations: 27.91 kB / 1.026 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.5714, allocations: 39.83 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.5714, allocations: 8 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.5716, allocations: 87.84 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.5717, allocations: 15.92 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.5717, allocations: 57.55 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.5719, allocations: 93.8 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.5719, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5719, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.5719, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 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.000561/0.5725, allocations: 418.9 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.5725, allocations: 8.031 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.5726, allocations: 8.844 kB / 1.027 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.5727, allocations: 176.2 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.5727, allocations: 4.375 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.5728, allocations: 8.375 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.573, allocations: 73.91 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.573, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.573, allocations: 7.984 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.573, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.5732, allocations: 39.98 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.5738, allocations: 328.6 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.5739, allocations: 50.5 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.574, allocations: 36.97 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.574, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.5742, allocations: 91.34 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.5742, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003975/0.5746, allocations: 141.6 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.5747, allocations: 67.33 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.5748, allocations: 117.8 kB / 1.028 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.5748, allocations: 29.7 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.5749, allocations: 92.12 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.5749, allocations: 11.81 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.5749, allocations: 17.72 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.575, allocations: 322.8 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.5751, allocations: 35.98 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/0.5752, allocations: 50.55 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.5754, allocations: 86.78 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5754, allocations: 3.938 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002487/0.5757, allocations: 121.5 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5757, allocations: 6.031 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.5757, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5757, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.95e-05/0.5758, allocations: 20.05 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5758, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.5759, allocations: 11.92 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.5759, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 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 0.0001005/0.576, allocations: 123.8 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.5761, allocations: 7.906 kB / 1.029 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.5761, allocations: 12.38 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5761, allocations: 4 kB / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5761, allocations: 0 / 1.029 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.5761, allocations: 3.984 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.5766, allocations: 386.5 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.5766, allocations: 4 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.08e-05/0.5766, allocations: 11.92 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5766, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5767, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5767, allocations: 0 / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5767, allocations: 7.938 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.5769, allocations: 211.4 kB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.577, allocations: 89.02 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.577, allocations: 0 / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.5771, allocations: 11.92 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.5772, allocations: 7.938 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.5772, allocations: 7.984 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.5772, allocations: 87.94 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5772, allocations: 0 / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003031/0.5776, allocations: 39.98 kB / 1.029 GB, free: 9.703 MB / 0.7794 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.0003808/0.5779, allocations: 170.6 kB / 1.03 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.5782, allocations: 75.95 kB / 1.03 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.5782, allocations: 4.125 kB / 1.03 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.5783, allocations: 44.3 kB / 1.03 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.5786, allocations: 4 kB / 1.03 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.579, allocations: 230.9 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.5792, allocations: 0.6887 MB / 1.031 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.5793, allocations: 11.44 kB / 1.031 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5793, allocations: 0 / 1.031 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of Templates: time 0.003464/0.5827, allocations: 1.611 MB / 1.032 GB, free: 6.82 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches