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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001449/0.001449, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002026/0.002026, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 472.7 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.97 kB / 0.9116 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3673, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002908/0.3703, allocations: 1.555 MB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3715, allocations: 0.7363 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.216e-05/0.3716, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.3716, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.424e-05/0.3717, allocations: 11.86 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.3723, allocations: 107.8 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.3724, allocations: 67.84 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3725, allocations: 19.97 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.904e-05/0.3726, allocations: 31.91 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.3726, allocations: 35.84 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.3727, allocations: 8 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.3729, allocations: 99.84 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.3729, allocations: 19.91 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.3729, allocations: 31.86 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.3732, allocations: 139.9 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3732, allocations: 3.984 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3732, allocations: 0 / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3732, allocations: 4 kB / 1.071 GB, free: 7.895 MB / 0.8262 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.0006195/0.3738, allocations: 413 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3739, allocations: 8.031 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.3739, allocations: 8.844 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3741, allocations: 180.2 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3741, allocations: 12.36 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.3741, allocations: 4.375 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3743, allocations: 65.97 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3743, allocations: 4 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3743, allocations: 7.938 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3744, allocations: 8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3745, allocations: 35.97 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.3751, allocations: 308.7 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3752, allocations: 54.56 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.3753, allocations: 36.94 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.3753, allocations: 4 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.3755, allocations: 71.38 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3755, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003656/0.3759, allocations: 149.5 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3759, allocations: 51.41 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.376, allocations: 129.7 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3761, allocations: 29.7 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.3761, allocations: 88.14 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.3761, allocations: 23.69 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.3762, allocations: 25.7 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.3763, allocations: 326.8 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.3764, allocations: 27.98 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.931e-05/0.3765, allocations: 46.55 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3766, allocations: 74.5 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3766, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002214/0.3769, allocations: 117.5 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3769, allocations: 9.406 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3769, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3769, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.377, allocations: 19.86 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.377, allocations: 4 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.3771, allocations: 8.062 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3771, allocations: 3.984 kB / 1.073 GB, free: 5.34 MB / 0.8262 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 8.496e-05/0.3772, allocations: 123.5 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.3772, allocations: 3.906 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.3773, allocations: 12.38 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3773, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3773, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3773, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.3777, allocations: 390.7 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3777, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.3778, allocations: 7.984 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3778, allocations: 0 / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3778, allocations: 4 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3778, allocations: 0 / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3778, allocations: 3.938 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3781, allocations: 219.4 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.3781, allocations: 85.02 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3781, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.3782, allocations: 8 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.3783, allocations: 11.92 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3783, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.3783, allocations: 95.27 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3783, allocations: 4 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002805/0.3786, allocations: 39.98 kB / 1.074 GB, free: 4.254 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.0003266/0.379, allocations: 169.1 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.3792, allocations: 67.91 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3792, allocations: 8.125 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/0.3793, allocations: 35.97 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3796, allocations: 4 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.38, allocations: 204.2 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.3802, allocations: 0.6885 MB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.3802, allocations: 7.984 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.3803, allocations: 7.438 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3803, allocations: 0 / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.003857/0.3841, allocations: 1.417 MB / 1.076 GB, free: 1.617 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