Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 108 kB / 15.61 MB, free: 152 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.001829/0.001829, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.513/1.513, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.557/2.557, allocations: 390.2 MB / 0.6646 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 67.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7585, allocations: 140.4 MB / 0.9496 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00269/0.7613, allocations: 1.486 MB / 0.951 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.7625, allocations: 0.7372 MB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.7625, allocations: 1.531 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.235e-05/0.7626, allocations: 3.938 kB / 0.9518 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.075e-05/0.7627, allocations: 17 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.7635, allocations: 121.4 kB / 0.9519 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.7636, allocations: 79.94 kB / 0.952 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.7638, allocations: 13.52 kB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.7639, allocations: 42.33 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.764, allocations: 35.09 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.764, allocations: 6.344 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.7643, allocations: 98.78 kB / 0.9522 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.7643, allocations: 17.5 kB / 0.9522 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.7644, allocations: 35.48 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.7647, allocations: 132 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7647, allocations: 0 / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.308e-06/0.7647, allocations: 1.469 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.7647, allocations: 3.938 kB / 0.9523 GB, free: 7.121 MB / 0.7169 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.0007687/0.7655, allocations: 427.1 kB / 0.9527 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.7656, allocations: 9.906 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.7656, allocations: 5.219 kB / 0.9528 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7657, allocations: 167 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.7658, allocations: 11.14 kB / 0.9529 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.7658, allocations: 4.625 kB / 0.9529 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.766, allocations: 75.56 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.766, allocations: 0 / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.7661, allocations: 1.281 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.7661, allocations: 1.281 kB / 0.953 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.7662, allocations: 40.58 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006436/0.7669, allocations: 321.8 kB / 0.9534 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.767, allocations: 48.38 kB / 0.9534 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.7671, allocations: 31.22 kB / 0.9534 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.7671, allocations: 5.344 kB / 0.9534 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.7674, allocations: 82 kB / 0.9535 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.7674, allocations: 0 / 0.9535 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004359/0.7678, allocations: 143.8 kB / 0.9536 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.7679, allocations: 56.75 kB / 0.9537 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.768, allocations: 121.3 kB / 0.9538 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.768, allocations: 26.86 kB / 0.9538 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.768, allocations: 94.78 kB / 0.9539 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.7681, allocations: 18.25 kB / 0.954 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.7681, allocations: 29.95 kB / 0.954 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.7682, allocations: 325.7 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.7683, allocations: 22.8 kB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/0.7684, allocations: 43.5 kB / 0.9544 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.7685, allocations: 77.23 kB / 0.9544 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7686, allocations: 1.406 kB / 0.9544 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002482/0.7688, allocations: 117.4 kB / 0.9545 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.7688, allocations: 4.156 kB / 0.9545 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7689, allocations: 5.531 kB / 0.9545 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.7689, allocations: 1.5 kB / 0.9546 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.769, allocations: 20.59 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.769, allocations: 1.344 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.7691, allocations: 11.62 kB / 0.9546 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.7691, allocations: 3.156 kB / 0.9546 GB, free: 4.969 MB / 0.7169 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.62e-05/0.7692, allocations: 126.3 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.7692, allocations: 7 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.7693, allocations: 13.81 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7693, allocations: 1.75 kB / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7693, allocations: 0 / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7693, allocations: 0 / 0.9547 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.7697, allocations: 374.8 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7697, allocations: 1.656 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.7698, allocations: 11.7 kB / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.7698, allocations: 0 / 0.9551 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.7698, allocations: 4 kB / 0.9551 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.7698, allocations: 0.8438 kB / 0.9551 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7698, allocations: 3.938 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.7701, allocations: 210.2 kB / 0.9553 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.7701, allocations: 87.25 kB / 0.9554 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.7702, allocations: 1 kB / 0.9554 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.7703, allocations: 2.125 kB / 0.9554 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/0.7703, allocations: 19.39 kB / 0.9554 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.7703, allocations: 2.094 kB / 0.9554 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.7704, allocations: 96.73 kB / 0.9555 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7704, allocations: 0 / 0.9555 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003226/0.7707, allocations: 36.56 kB / 0.9555 GB, free: 4.062 MB / 0.7169 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.0004072/0.7711, allocations: 172.7 kB / 0.9557 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.7714, allocations: 69.97 kB / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7714, allocations: 0 / 0.9558 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.249e-05/0.7715, allocations: 36.95 kB / 0.9558 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.7718, allocations: 7.266 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.7722, allocations: 183.4 kB / 0.956 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.7723, allocations: 0.6924 MB / 0.9567 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.7724, allocations: 7.641 kB / 0.9567 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.7724, allocations: 18.17 kB / 0.9567 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7724, allocations: 4 kB / 0.9567 GB, free: 3 MB / 0.7169 GB Notification: Performance of Templates: time 0.003933/0.7763, allocations: 1.441 MB / 0.9581 GB, free: 2.258 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0