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.006013/0.006013, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001567/0.001568, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.89 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3545, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003501/0.3581, allocations: 1.493 MB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3596, allocations: 0.7366 MB / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.043e-05/0.3597, allocations: 0 / 1.21 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.3597, allocations: 7.922 kB / 1.21 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.747e-05/0.3598, allocations: 11.88 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.3605, allocations: 123.6 kB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3607, allocations: 75.77 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3608, allocations: 15.94 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.3609, allocations: 35.86 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.361, allocations: 43.81 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.361, allocations: 4 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.3613, allocations: 95.91 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.3613, allocations: 19.92 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.3614, allocations: 31.86 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.3618, allocations: 147.5 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3618, allocations: 0 / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3618, allocations: 0 / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.3618, allocations: 0 / 1.21 GB, free: 6.828 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.0007847/0.3626, allocations: 413 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3626, allocations: 8.625 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.3627, allocations: 8.844 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3629, allocations: 180.2 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.3629, allocations: 8.375 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.3629, allocations: 4.375 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.3632, allocations: 69.91 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3632, allocations: 4 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.3632, allocations: 7.938 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3632, allocations: 3.938 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.3634, allocations: 35.97 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.3641, allocations: 316.7 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3642, allocations: 54.5 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.3643, allocations: 32.97 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3643, allocations: 0 / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.3646, allocations: 79.44 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.3646, allocations: 0 / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000404/0.365, allocations: 133.6 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.365, allocations: 59.34 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3652, allocations: 125.7 kB / 1.212 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.3652, allocations: 33.7 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.3652, allocations: 88.14 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.3653, allocations: 23.73 kB / 1.212 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.3653, allocations: 25.7 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.3655, allocations: 322.8 kB / 1.212 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.309e-05/0.3656, allocations: 23.98 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.624e-05/0.3657, allocations: 50.55 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3658, allocations: 78.47 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.3658, allocations: 4 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002474/0.3661, allocations: 105.5 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3661, allocations: 8 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3661, allocations: 3.984 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3662, allocations: 4.062 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.858e-05/0.3663, allocations: 8 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3663, allocations: 8.328 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.3664, allocations: 11.98 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3664, allocations: 4 kB / 1.213 GB, free: 4.281 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.0001081/0.3665, allocations: 125.7 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.3665, allocations: 11.91 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.3666, allocations: 8.359 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3666, allocations: 4 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3666, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3666, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.3671, allocations: 386.4 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3671, allocations: 4 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.347e-05/0.3671, allocations: 3.938 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3671, allocations: 4 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3672, allocations: 0 / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3672, allocations: 7.984 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3672, allocations: 3.938 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.3675, allocations: 211.4 kB / 1.213 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.3676, allocations: 81.02 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3676, allocations: 0 / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.3677, allocations: 7.984 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3678, allocations: 7.938 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3678, allocations: 7.984 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.785e-05/0.3679, allocations: 99.27 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3679, allocations: 0 / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003148/0.3682, allocations: 32 kB / 1.214 GB, free: 3.191 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.0004002/0.3686, allocations: 165.3 kB / 1.214 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.3689, allocations: 71.95 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3689, allocations: 4 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.369, allocations: 39.91 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.3693, allocations: 0 / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.3697, allocations: 192.3 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.37, allocations: 0.6935 MB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.106e-05/0.3701, allocations: 7.938 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.3701, allocations: 11.44 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3701, allocations: 0 / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of Templates: time 0.004756/0.3749, allocations: 1.462 MB / 1.216 GB, free: 0.5195 MB / 0.9669 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