Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001408, allocations: 104 kB / 15.6 MB, free: 148 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.001522/0.001522, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.359 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.451/2.451, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 68.09 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.7607, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002331/0.763, allocations: 1.494 MB / 0.951 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.7641, allocations: 0.7297 MB / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.7641, allocations: 0 / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.7642, allocations: 3.938 kB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.7642, allocations: 18.67 kB / 0.9518 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.7647, allocations: 121.5 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.7648, allocations: 75.25 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.7649, allocations: 17.78 kB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.244e-05/0.765, allocations: 37.81 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.765, allocations: 38.52 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.7651, allocations: 6.531 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.7652, allocations: 99.25 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.7653, allocations: 18.34 kB / 0.9522 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.353e-05/0.7653, allocations: 27.61 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.7655, allocations: 140 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.7655, allocations: 0 / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7655, allocations: 0 / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.7656, allocations: 0 / 0.9523 GB, free: 7.02 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.0005004/0.7661, allocations: 427.5 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.7661, allocations: 9.5 kB / 0.9527 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.7662, allocations: 13.39 kB / 0.9528 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.275e-05/0.7662, allocations: 167.8 kB / 0.9529 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.7663, allocations: 6.656 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.7663, allocations: 4.562 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.7665, allocations: 76.23 kB / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.7665, allocations: 0 / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.7665, allocations: 0 / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.7665, allocations: 1.531 kB / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.7666, allocations: 44.59 kB / 0.953 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.7671, allocations: 326 kB / 0.9534 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.7673, allocations: 48.48 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.7673, allocations: 35.22 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.7674, allocations: 1.406 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.7675, allocations: 80.75 kB / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.7675, allocations: 0 / 0.9535 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003429/0.7679, allocations: 137.3 kB / 0.9536 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.7679, allocations: 52.53 kB / 0.9537 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.768, allocations: 133.5 kB / 0.9538 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.768, allocations: 27.05 kB / 0.9539 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.864e-05/0.768, allocations: 86.83 kB / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.7681, allocations: 18.27 kB / 0.954 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.7681, allocations: 26.09 kB / 0.954 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.7682, allocations: 328.2 kB / 0.9543 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.7682, allocations: 27.39 kB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.7683, allocations: 52.14 kB / 0.9544 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.7685, allocations: 65.94 kB / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7685, allocations: 0 / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002035/0.7687, allocations: 117.3 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.7687, allocations: 6.812 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.7687, allocations: 1.375 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.7687, allocations: 1.5 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.7688, allocations: 16.48 kB / 0.9546 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7688, allocations: 5.562 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.7689, allocations: 14.7 kB / 0.9546 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.7689, allocations: 2.875 kB / 0.9546 GB, free: 4.863 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 6.196e-05/0.769, allocations: 123.5 kB / 0.9547 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.769, allocations: 6.281 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.769, allocations: 11.59 kB / 0.9547 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.769, allocations: 0 / 0.9547 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7691, allocations: 3.984 kB / 0.9547 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.7691, allocations: 1.719 kB / 0.9547 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.7694, allocations: 382 kB / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7694, allocations: 0 / 0.9551 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.171e-05/0.7695, allocations: 8.062 kB / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7695, allocations: 3.938 kB / 0.9551 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.7695, allocations: 1.594 kB / 0.9551 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7695, allocations: 0 / 0.9551 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7695, allocations: 5.344 kB / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.7697, allocations: 213.1 kB / 0.9553 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.7698, allocations: 83.17 kB / 0.9554 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.7698, allocations: 5.125 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.7699, allocations: 10.08 kB / 0.9554 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.7699, allocations: 15.22 kB / 0.9554 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.77, allocations: 6.328 kB / 0.9554 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.77, allocations: 87.97 kB / 0.9555 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.77, allocations: 0 / 0.9555 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002908/0.7703, allocations: 40.33 kB / 0.9555 GB, free: 3.949 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.0002861/0.7706, allocations: 162.9 kB / 0.9557 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002273/0.7708, allocations: 74.61 kB / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7708, allocations: 0 / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.7709, allocations: 35.86 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.7712, allocations: 13.81 kB / 0.9558 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.7715, allocations: 179.3 kB / 0.956 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.7717, allocations: 0.6958 MB / 0.9567 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.7717, allocations: 7.5 kB / 0.9567 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.7717, allocations: 11 kB / 0.9567 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7717, allocations: 0 / 0.9567 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of Templates: time 0.003722/0.7755, allocations: 1.449 MB / 0.9581 GB, free: 2.148 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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