Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Herkel2008WindowsTiltedOpen,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.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_latest_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.00102/0.00102, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008025/0.008025, allocations: 169 kB / 16.26 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.888/2.888, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004038, allocations: 12.34 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3422, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001821/0.3441, allocations: 1.221 MB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3454, allocations: 0.7284 MB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.3454, allocations: 0 / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.3454, allocations: 7.875 kB / 1.061 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.3455, allocations: 11.92 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.3461, allocations: 99.77 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.3462, allocations: 67.83 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.3463, allocations: 12 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3464, allocations: 31.91 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.069e-05/0.3465, allocations: 39.77 kB / 1.061 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.3465, allocations: 4 kB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.3467, allocations: 91.84 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.3468, allocations: 15.92 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.809e-05/0.3469, allocations: 57.55 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3471, allocations: 131.9 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3471, allocations: 7.938 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3471, allocations: 4 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3471, allocations: 0 / 1.061 GB, free: 2.93 MB / 0.8106 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.0006061/0.3477, allocations: 398.3 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3478, allocations: 12.02 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.3478, allocations: 8.844 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.348, allocations: 172.2 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.348, allocations: 8.375 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.348, allocations: 4.375 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.3483, allocations: 77.97 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3483, allocations: 0 / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3483, allocations: 0 / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3483, allocations: 0 / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3485, allocations: 51.91 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.3491, allocations: 324.7 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3493, allocations: 54.5 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.3494, allocations: 36.97 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.3494, allocations: 0 / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.3496, allocations: 79.31 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3496, allocations: 0 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004308/0.3501, allocations: 145.6 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.3501, allocations: 51.41 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.3502, allocations: 125.7 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3503, allocations: 29.7 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.3503, allocations: 96.2 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.3504, allocations: 23.73 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.3504, allocations: 17.72 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.3505, allocations: 322.8 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.765e-05/0.3506, allocations: 27.98 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.854e-05/0.3507, allocations: 50.5 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3509, allocations: 78.55 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3509, allocations: 0 / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002586/0.3512, allocations: 121.8 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3512, allocations: 8 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3512, allocations: 0 / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3512, allocations: 0 / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3513, allocations: 19.92 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3513, allocations: 80 / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.3514, allocations: 11.94 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.3514, allocations: 8.047 kB / 1.063 GB, free: 376 kB / 0.8106 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.809e-05/0.3516, allocations: 128.9 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.3516, allocations: 11.84 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.3516, allocations: 8.375 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3516, allocations: 4 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3516, allocations: 4 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3516, allocations: 3.984 kB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.3521, allocations: 390.3 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3521, allocations: 4 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.3522, allocations: 7.984 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3522, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.3522, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3522, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3522, allocations: 3.938 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.3525, allocations: 223.3 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.3526, allocations: 85.02 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3526, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.926e-05/0.3527, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.3528, allocations: 15.92 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.3528, allocations: 4 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.3528, allocations: 95.27 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3528, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003192/0.3532, allocations: 39.98 kB / 1.064 GB, free: 15.26 MB / 0.8262 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.0003742/0.3535, allocations: 155 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.3538, allocations: 83.89 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3538, allocations: 0 / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.3539, allocations: 39.97 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3542, allocations: 9.625 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.3546, allocations: 209.2 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3549, allocations: 0.6887 MB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.355, allocations: 4 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.355, allocations: 11.44 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.355, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.00408/0.3591, allocations: 1.369 MB / 1.067 GB, free: 12.66 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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