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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001603/0.001603, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001537/0.001537, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.68/2.68, allocations: 482.4 MB / 0.755 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 71.58 kB / 0.924 GB, free: 348 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8601/0.8621, allocations: 162.2 MB / 1.082 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002434/0.8646, allocations: 1.556 MB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.8657, allocations: 0.7215 MB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.8657, allocations: 0.9062 kB / 1.085 GB, free: 52 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.8658, allocations: 4.734 kB / 1.085 GB, free: 48 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.8658, allocations: 10.91 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.8663, allocations: 110.9 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.8665, allocations: 72.22 kB / 1.085 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.445e-05/0.8666, allocations: 23.64 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.8667, allocations: 30.95 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.8668, allocations: 41.3 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.8668, allocations: 6.562 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.867, allocations: 99.2 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.867, allocations: 22.45 kB / 1.085 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.655e-05/0.8671, allocations: 28.58 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.8673, allocations: 101.4 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8673, allocations: 0 / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8673, allocations: 1.188 kB / 1.085 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8673, allocations: 0 / 1.085 GB, free: 15.82 MB / 0.8419 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.0006712/0.868, allocations: 421.4 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.868, allocations: 10.34 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.8681, allocations: 8.188 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.8682, allocations: 179.2 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.8682, allocations: 2.75 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.8683, allocations: 7.688 kB / 1.086 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.8685, allocations: 68.84 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8685, allocations: 0 / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.8685, allocations: 1.625 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8685, allocations: 1.094 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.8686, allocations: 35.25 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.8693, allocations: 327.6 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.8694, allocations: 44.91 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.8695, allocations: 32.92 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.8695, allocations: 9.344 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.8698, allocations: 73.3 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.8698, allocations: 0 / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003984/0.8702, allocations: 146.1 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.8702, allocations: 53.28 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.8703, allocations: 123.3 kB / 1.087 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.8704, allocations: 30.39 kB / 1.087 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.8704, allocations: 92.73 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.8705, allocations: 11.7 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.8705, allocations: 29.84 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.8707, allocations: 324.4 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.618e-05/0.8708, allocations: 26.42 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.933e-05/0.8709, allocations: 59.28 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.871, allocations: 75.17 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8711, allocations: 5.094 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002353/0.8713, allocations: 108 kB / 1.087 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8713, allocations: 10.59 kB / 1.087 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.8713, allocations: 3.984 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8714, allocations: 1.344 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.8715, allocations: 16.08 kB / 1.087 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8715, allocations: 5.219 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.8715, allocations: 9.734 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.8716, allocations: 3.672 kB / 1.087 GB, free: 13.82 MB / 0.8419 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.0001087/0.8717, allocations: 120.8 kB / 1.088 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.8717, allocations: 11.58 kB / 1.088 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.8717, allocations: 10.44 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.8718, allocations: 1.672 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8718, allocations: 0 / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8718, allocations: 1.656 kB / 1.088 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.8723, allocations: 382.5 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8723, allocations: 0 / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.8723, allocations: 5.562 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8724, allocations: 4.891 kB / 1.088 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8724, allocations: 5.844 kB / 1.088 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8724, allocations: 0 / 1.088 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.8724, allocations: 6.078 kB / 1.088 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.8727, allocations: 207.7 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.8728, allocations: 82.7 kB / 1.088 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.8728, allocations: 6.062 kB / 1.088 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.8729, allocations: 12.16 kB / 1.088 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.8729, allocations: 9.703 kB / 1.088 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.8729, allocations: 2.469 kB / 1.088 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.947e-05/0.873, allocations: 95.55 kB / 1.088 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.873, allocations: 1.375 kB / 1.088 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003171/0.8733, allocations: 37.47 kB / 1.088 GB, free: 12.97 MB / 0.8419 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.0003562/0.8737, allocations: 162.8 kB / 1.089 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.874, allocations: 76.03 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.874, allocations: 0 / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.8741, allocations: 34.22 kB / 1.089 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.8743, allocations: 9.938 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.8748, allocations: 217.4 kB / 1.089 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.8751, allocations: 0.6878 MB / 1.09 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.8751, allocations: 12.17 kB / 1.09 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.8751, allocations: 0 / 1.09 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.003783/0.8789, allocations: 1.616 MB / 1.091 GB, free: 11.77 MB / 0.8419 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=400 -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