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.001456/0.001456, allocations: 106.2 kB / 16.41 MB, free: 6.457 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.001627/0.001627, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.15 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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 60.09 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8551, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002441/0.8576, allocations: 1.488 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.8588, allocations: 0.7345 MB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.8589, allocations: 0.8438 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.234e-05/0.8589, allocations: 4.453 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.563e-05/0.859, allocations: 11.34 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.8596, allocations: 124.8 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.8597, allocations: 72.36 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.8598, allocations: 20.67 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.8599, allocations: 34.75 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.812e-05/0.86, allocations: 41.3 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.86, allocations: 6.625 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.8602, allocations: 94.23 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.8602, allocations: 18.17 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.8603, allocations: 28.92 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.8606, allocations: 141.6 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8606, allocations: 4 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8606, allocations: 0 / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8606, allocations: 0 / 1.091 GB, free: 3.73 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.0005571/0.8612, allocations: 429.2 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.8612, allocations: 9.438 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.8612, allocations: 9.297 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.615e-05/0.8613, allocations: 169.3 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.8614, allocations: 3.531 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.8614, allocations: 12.42 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.8616, allocations: 75.67 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.8616, allocations: 1 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.8616, allocations: 0.7969 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.8616, allocations: 0.9375 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.8618, allocations: 36.25 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.8623, allocations: 318.2 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.8625, allocations: 46.36 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.8626, allocations: 36.09 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.8626, allocations: 0.7031 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.8628, allocations: 85.41 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.8628, allocations: 0.875 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003916/0.8632, allocations: 132.8 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.8632, allocations: 58.52 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.8633, allocations: 122.6 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.8633, allocations: 27.3 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.8634, allocations: 91.97 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.8634, allocations: 12.53 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.8635, allocations: 33.59 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.8635, allocations: 322.7 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.8636, allocations: 28 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.8637, allocations: 50.38 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.8639, allocations: 75.89 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.8639, allocations: 0.7188 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002427/0.8641, allocations: 112.2 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.8641, allocations: 6.125 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.8641, allocations: 5.5 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.8642, allocations: 4.938 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.8643, allocations: 11.08 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.8643, allocations: 6 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.8643, allocations: 16.73 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.8644, allocations: 4.219 kB / 1.094 GB, free: 1.738 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.148e-05/0.8644, allocations: 124 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.8645, allocations: 6.75 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.8645, allocations: 11.72 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8645, allocations: 0.8125 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.8645, allocations: 4 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8645, allocations: 1.766 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.8649, allocations: 373.7 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8649, allocations: 1.359 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.865, allocations: 4.594 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.865, allocations: 1.344 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.865, allocations: 5.578 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.865, allocations: 5.391 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.865, allocations: 5.125 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.8653, allocations: 211.1 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.8653, allocations: 79.34 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.8653, allocations: 7 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.8654, allocations: 7.969 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.8655, allocations: 8.781 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.8655, allocations: 3.578 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.8655, allocations: 100.7 kB / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8656, allocations: 0 / 1.095 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003185/0.8659, allocations: 44.73 kB / 1.095 GB, free: 0.8828 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.0003388/0.8662, allocations: 159.1 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.8665, allocations: 72.5 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8665, allocations: 0 / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.8666, allocations: 45.8 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.8668, allocations: 9.547 kB / 1.095 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.8672, allocations: 206.8 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.8674, allocations: 0.6902 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.8675, allocations: 12.3 kB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8675, allocations: 0 / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.004215/0.8717, allocations: 1.623 MB / 1.097 GB, free: 15.69 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