Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Haldi2008WindowsTOut,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.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_latest_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.00696/0.00696, allocations: 101.6 kB / 15.73 MB, free: 6.477 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.001361/0.001361, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7347 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.91 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3488, allocations: 157.4 MB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002665/0.3515, allocations: 1.503 MB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3528, allocations: 0.7327 MB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.3528, allocations: 3.938 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.3529, allocations: 3.938 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.353, allocations: 15.84 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.3535, allocations: 123.6 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3536, allocations: 71.78 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3537, allocations: 27.88 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.3538, allocations: 31.91 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.3539, allocations: 35.84 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.3539, allocations: 8 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.3541, allocations: 95.84 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.3542, allocations: 27.89 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.3542, allocations: 27.86 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3544, allocations: 147.5 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3544, allocations: 0 / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3544, allocations: 0 / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3545, allocations: 4 kB / 1.21 GB, free: 6.73 MB / 0.9669 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.0006151/0.3551, allocations: 413 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3551, allocations: 8.031 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.3552, allocations: 8.844 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.3553, allocations: 180.2 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.3554, allocations: 4.375 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3554, allocations: 4.375 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.3556, allocations: 77.95 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3556, allocations: 0 / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3556, allocations: 0 / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-06/0.3556, allocations: 4 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.3557, allocations: 43.84 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.3563, allocations: 316.7 kB / 1.211 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3565, allocations: 50.55 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.3565, allocations: 32.97 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3566, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.3568, allocations: 83.31 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3568, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003763/0.3572, allocations: 137.7 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.3572, allocations: 51.41 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.907e-05/0.3573, allocations: 129.7 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3573, allocations: 25.7 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.3574, allocations: 88.14 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.3574, allocations: 19.75 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.3575, allocations: 29.7 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.3576, allocations: 326.8 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.717e-05/0.3577, allocations: 27.92 kB / 1.212 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.763e-05/0.3577, allocations: 46.55 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3579, allocations: 70.56 kB / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3579, allocations: 0 / 1.213 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002208/0.3581, allocations: 117.5 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3582, allocations: 7.938 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3582, allocations: 8 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3582, allocations: 0 / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.3583, allocations: 15.92 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3583, allocations: 0 / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.3584, allocations: 12 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.3584, allocations: 11.98 kB / 1.213 GB, free: 4.18 MB / 0.9669 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.0001065/0.3585, allocations: 117.8 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.3585, allocations: 7.906 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.3586, allocations: 12.38 kB / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3586, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3586, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.3586, allocations: 0 / 1.213 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.359, allocations: 382.4 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.359, allocations: 0 / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.3591, allocations: 7.984 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3591, allocations: 0 / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3591, allocations: 4 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3591, allocations: 0 / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3591, allocations: 3.938 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.3594, allocations: 223.8 kB / 1.213 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.3594, allocations: 85.02 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3595, allocations: 0 / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.3596, allocations: 7.984 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.3596, allocations: 7.938 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.3596, allocations: 4 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.35e-05/0.3597, allocations: 91.27 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3597, allocations: 0 / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002793/0.36, allocations: 39.98 kB / 1.214 GB, free: 3.102 MB / 0.9669 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.000344/0.3603, allocations: 167.9 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3606, allocations: 71.91 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.3606, allocations: 0 / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.3607, allocations: 44.03 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3609, allocations: 10.06 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.3613, allocations: 192.3 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.3616, allocations: 0.6846 MB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.3616, allocations: 3.984 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.3617, allocations: 15.44 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3617, allocations: 0 / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of Templates: time 0.003959/0.3656, allocations: 1.462 MB / 1.216 GB, free: 428 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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