Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007718/0.007718, allocations: 102.3 kB / 15.73 MB, free: 6.492 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.00153/0.00153, allocations: 199.3 kB / 16.68 MB, free: 6.371 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 76.09 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3455, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002919/0.3484, allocations: 1.487 MB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3497, allocations: 0.7362 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.3498, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.3498, allocations: 3.938 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.778e-05/0.3499, allocations: 11.81 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.3504, allocations: 123.6 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3505, allocations: 83.75 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3507, allocations: 15.95 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.3507, allocations: 31.91 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.3508, allocations: 39.83 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3508, allocations: 4 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.351, allocations: 103.8 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.351, allocations: 19.92 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.3511, allocations: 27.86 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.3513, allocations: 139.5 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3513, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3513, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3513, allocations: 8 kB / 1.223 GB, free: 10.97 MB / 0.9825 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.0006216/0.352, allocations: 420.7 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.352, allocations: 12.03 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.3521, allocations: 8.891 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3522, allocations: 168.3 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3522, allocations: 8.359 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3522, allocations: 4.375 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3524, allocations: 77.97 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3524, allocations: 3.938 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3524, allocations: 3.984 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3525, allocations: 0 / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.3526, allocations: 35.97 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.3532, allocations: 320.6 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3533, allocations: 50.56 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.3534, allocations: 28.97 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3534, allocations: 0 / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.3536, allocations: 75.38 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3536, allocations: 0 / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003903/0.354, allocations: 149.5 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.354, allocations: 55.41 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3541, allocations: 122.1 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3541, allocations: 25.7 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.3542, allocations: 92.12 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.3542, allocations: 15.97 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.3543, allocations: 29.7 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3544, allocations: 330.8 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/0.3545, allocations: 27.98 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.3546, allocations: 50.61 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3547, allocations: 74.48 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3547, allocations: 4 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002278/0.355, allocations: 109.5 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.355, allocations: 4 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.355, allocations: 0 / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.355, allocations: 7.938 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3551, allocations: 19.92 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3551, allocations: 3.938 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.3552, allocations: 7.938 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3552, allocations: 8.062 kB / 1.226 GB, free: 8.418 MB / 0.9825 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.0001037/0.3553, allocations: 122.3 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.3553, allocations: 7.953 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3553, allocations: 8.375 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3553, allocations: 0 / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3553, allocations: 4 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3553, allocations: 0 / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.3558, allocations: 390.4 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3558, allocations: 0 / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/0.3558, allocations: 7.984 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3558, allocations: 0 / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3558, allocations: 0 / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3558, allocations: 0 / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3558, allocations: 3.938 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.3561, allocations: 211.4 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.3562, allocations: 85.06 kB / 1.226 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.3562, allocations: 4 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.3563, allocations: 0 / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.3563, allocations: 11.92 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3563, allocations: 4 kB / 1.226 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.3564, allocations: 91.27 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3564, allocations: 0 / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003018/0.3567, allocations: 39.88 kB / 1.227 GB, free: 7.34 MB / 0.9825 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.0003586/0.357, allocations: 176.8 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.3573, allocations: 71.88 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3573, allocations: 0 / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.823e-05/0.3574, allocations: 36.11 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3577, allocations: 19.55 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004629/0.3581, allocations: 192.1 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.3584, allocations: 0.6885 MB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.3584, allocations: 0 / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.3585, allocations: 19.42 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3585, allocations: 0 / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of Templates: time 0.004405/0.3629, allocations: 1.442 MB / 1.229 GB, free: 4.668 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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