Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 110.3 kB / 16.41 MB, free: 6.512 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.001889/0.001889, allocations: 185.2 kB / 17.34 MB, free: 5.738 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.51/1.51, 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 10.1.1-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 68.11 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9598/0.9617, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003007/0.9648, allocations: 1.5 MB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.9664, allocations: 0.7323 MB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.9665, allocations: 0 / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.9666, allocations: 3.938 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.9666, allocations: 11.86 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.9672, allocations: 123.6 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.9674, allocations: 75.77 kB / 1.17 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.9675, allocations: 19.97 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.038e-05/0.9676, allocations: 35.86 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.9677, allocations: 35.83 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.9677, allocations: 8 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.9679, allocations: 95.91 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.968, allocations: 11.98 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.114e-05/0.968, allocations: 31.8 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.9683, allocations: 144 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.9683, allocations: 3.984 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9683, allocations: 4 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.9684, allocations: 3.938 kB / 1.17 GB, free: 1 MB / 0.8887 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.0008088/0.9692, allocations: 424.7 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.9692, allocations: 8.625 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.9693, allocations: 8.891 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.9695, allocations: 176.3 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.9695, allocations: 4.375 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.9695, allocations: 8.375 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.9697, allocations: 77.89 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.9697, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.9698, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.9698, allocations: 4 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.9699, allocations: 35.97 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.9706, allocations: 316.7 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.9708, allocations: 46.56 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.9709, allocations: 36.89 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.9709, allocations: 7.984 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.9711, allocations: 75.45 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.9712, allocations: 7.938 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004206/0.9716, allocations: 137.6 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.9716, allocations: 55.41 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.9718, allocations: 129.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.9718, allocations: 25.7 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.9719, allocations: 96.09 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.9719, allocations: 11.91 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.972, allocations: 33.7 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.9722, allocations: 322.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.9723, allocations: 23.98 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.855e-05/0.9724, allocations: 46.55 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.9726, allocations: 78.5 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9726, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002486/0.9729, allocations: 113.5 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.9729, allocations: 8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.9729, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.9729, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.973, allocations: 11.98 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.9731, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/0.9731, allocations: 16 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.9732, allocations: 3.984 kB / 1.172 GB, free: 14.45 MB / 0.9044 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.0001147/0.9733, allocations: 125.7 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.9733, allocations: 3.953 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.9733, allocations: 12.38 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.9734, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.9734, allocations: 7.875 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9734, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005952/0.974, allocations: 382.4 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.974, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.974, allocations: 11.98 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9741, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.9741, allocations: 8 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9741, allocations: 3.938 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9741, allocations: 3.938 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.9744, allocations: 204 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.9745, allocations: 85.06 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.9745, allocations: 0 / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.9746, allocations: 8 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.9747, allocations: 11.92 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.9747, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.014e-05/0.9748, allocations: 91.27 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9748, allocations: 4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002974/0.9751, allocations: 43.92 kB / 1.173 GB, free: 13.36 MB / 0.9044 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.0004016/0.9755, allocations: 166.4 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002427/0.9757, allocations: 63.91 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9757, allocations: 4.125 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.9759, allocations: 47.91 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.9761, allocations: 11.06 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.9766, allocations: 192.2 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.977, allocations: 0.6846 MB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.977, allocations: 11.98 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.9771, allocations: 11.44 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9771, allocations: 0 / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of Templates: time 0.004744/0.9818, allocations: 1.445 MB / 1.176 GB, free: 10.69 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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