Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Zhang2012WindowsNorth,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.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_9_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.002222/0.002222, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.00279/0.00279, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.413/1.413, 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 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.91 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.776/0.7775, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002435/0.7799, allocations: 1.501 MB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.7811, allocations: 0.7234 MB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.7811, allocations: 1.094 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.7812, allocations: 13.05 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.7812, allocations: 10.69 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.7818, allocations: 125.1 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.7819, allocations: 73.14 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.782, allocations: 15.7 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.037e-05/0.7821, allocations: 35.17 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.015e-05/0.7822, allocations: 37.34 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.7822, allocations: 6.281 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.7824, allocations: 97.88 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.7825, allocations: 23.55 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.7825, allocations: 27.64 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.7828, allocations: 138.2 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7828, allocations: 0.5625 kB / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7828, allocations: 0 / 1.091 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.7828, allocations: 0 / 1.091 GB, free: 3.695 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.0005856/0.7834, allocations: 430 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7835, allocations: 8.406 kB / 1.092 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.7835, allocations: 12.72 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.717e-05/0.7836, allocations: 173 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.7837, allocations: 3.672 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.7837, allocations: 8.031 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.7839, allocations: 77.08 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.7839, allocations: 0 / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.7839, allocations: 1.391 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.7839, allocations: 4.719 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.7841, allocations: 35.94 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.7846, allocations: 319.3 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.7848, allocations: 44.84 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.769e-05/0.7849, allocations: 36.92 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.7849, allocations: 1.094 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.7851, allocations: 76.98 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7851, allocations: 1.094 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004152/0.7855, allocations: 141.1 kB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.7856, allocations: 61.7 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.7856, allocations: 118.9 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.7857, allocations: 27.23 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.7857, allocations: 92.39 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.7857, allocations: 11.58 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.7858, allocations: 29.58 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.7859, allocations: 322.9 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.786, allocations: 32.39 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.604e-05/0.7861, allocations: 49.45 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.7862, allocations: 72.36 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7862, allocations: 0.75 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002269/0.7865, allocations: 120.2 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.7865, allocations: 6.281 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7865, allocations: 0 / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.7865, allocations: 2.922 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.7866, allocations: 10.53 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.7866, allocations: 6.062 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.7867, allocations: 16.83 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.7867, allocations: 3.984 kB / 1.094 GB, free: 1.695 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 7.11e-05/0.7868, allocations: 123.9 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.7868, allocations: 7.688 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.7868, allocations: 9.828 kB / 1.094 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7869, allocations: 6.547 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7869, allocations: 0 / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7869, allocations: 0.8438 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.7873, allocations: 375.8 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7873, allocations: 4 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.7873, allocations: 4.266 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7873, allocations: 0.8438 kB / 1.094 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.7874, allocations: 5.859 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7874, allocations: 0.9375 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7874, allocations: 5.359 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.7876, allocations: 206.8 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/0.7877, allocations: 83.91 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.7877, allocations: 10.06 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.539e-05/0.7878, allocations: 8.578 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.7878, allocations: 9.016 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.7879, allocations: 2.844 kB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.7879, allocations: 92.42 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7879, allocations: 0 / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003021/0.7882, allocations: 46.38 kB / 1.095 GB, free: 0.8438 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.0003232/0.7885, allocations: 173.6 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.7888, allocations: 68.83 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7888, allocations: 0 / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.676e-05/0.7889, allocations: 37.42 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.7892, allocations: 8.516 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.7896, allocations: 216.6 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.7897, allocations: 0.6868 MB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.7898, allocations: 12.5 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.7898, allocations: 0.8438 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of Templates: time 0.00407/0.7939, allocations: 1.624 MB / 1.097 GB, free: 15.64 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches