Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001724, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001711/0.001711, allocations: 194.4 kB / 16.14 MB, free: 6.645 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.59 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3479, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.00278/0.3508, allocations: 1.568 MB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.352, allocations: 0.7477 MB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.3521, allocations: 3.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.3521, allocations: 0 / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.134e-05/0.3522, allocations: 3.938 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.3527, allocations: 103.8 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.3528, allocations: 75.75 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.3529, allocations: 12 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.921e-05/0.353, allocations: 31.92 kB / 1.055 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.353, allocations: 39.81 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.3531, allocations: 4 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3533, allocations: 91.84 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.3533, allocations: 15.92 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.3534, allocations: 27.86 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.3536, allocations: 139.9 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3536, allocations: 0 / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3536, allocations: 4 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.3536, allocations: 4 kB / 1.055 GB, free: 5.973 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.0006276/0.3542, allocations: 409 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3543, allocations: 16.02 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.3543, allocations: 8.844 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3545, allocations: 176.2 kB / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.3545, allocations: 384 / 1.055 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.3545, allocations: 8.375 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3547, allocations: 73.97 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3547, allocations: 0 / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3548, allocations: 0 / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.3548, allocations: 0 / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.3549, allocations: 35.97 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.3555, allocations: 324.7 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3557, allocations: 54.44 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.3558, allocations: 32.97 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3558, allocations: 4.062 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.356, allocations: 79.36 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.356, allocations: 4 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.000399/0.3564, allocations: 141.5 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3565, allocations: 55.41 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.3566, allocations: 121.8 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3566, allocations: 25.7 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.3567, allocations: 92.14 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.3567, allocations: 19.72 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.3568, allocations: 29.72 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3569, allocations: 326.8 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.357, allocations: 23.98 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.3571, allocations: 50.55 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.3572, allocations: 78.48 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3572, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002213/0.3575, allocations: 105.5 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3575, allocations: 4 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3575, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3575, allocations: 7.984 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.3576, allocations: 12 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3576, allocations: 0 / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.3577, allocations: 15.95 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.3577, allocations: 15.88 kB / 1.057 GB, free: 3.422 MB / 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.806e-05/0.3578, allocations: 119.3 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.3579, allocations: 4 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.3579, allocations: 8.375 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3579, allocations: 3.984 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3579, allocations: 4 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3579, allocations: 0 / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.3584, allocations: 394.2 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3584, allocations: 0 / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.3584, allocations: 4 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3584, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.3585, allocations: 0 / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.3585, allocations: 3.984 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3585, allocations: 3.938 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.3587, allocations: 207.4 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.3588, allocations: 77.11 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.3588, allocations: 8 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/0.3589, allocations: 3.984 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.359, allocations: 15.81 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.359, allocations: 7.984 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.359, allocations: 91.27 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.359, allocations: 4 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000293/0.3593, allocations: 36 kB / 1.058 GB, free: 2.348 MB / 0.8106 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.0003491/0.3597, allocations: 161.8 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.3599, allocations: 75.88 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.36, allocations: 8.062 kB / 1.058 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.3601, allocations: 35.98 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.3603, allocations: 4 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.3607, allocations: 194 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.361, allocations: 0.6965 MB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.361, allocations: 7.984 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3611, allocations: 11.44 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3611, allocations: 0 / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of Templates: time 0.004124/0.3652, allocations: 1.376 MB / 1.061 GB, free: 15.75 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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