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.001332/0.001332, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 472.7 MB / 0.7452 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 60.38 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3667, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.00297/0.3697, allocations: 1.493 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.3711, allocations: 0.7362 MB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.3711, allocations: 4 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.3712, allocations: 7.875 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.3713, allocations: 11.86 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005982/0.3719, allocations: 119.6 kB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.372, allocations: 75.77 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3721, allocations: 19.95 kB / 1.071 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3722, allocations: 31.92 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.3723, allocations: 43.83 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.3723, allocations: 11.98 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.3725, allocations: 91.86 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.3726, allocations: 19.91 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.3726, allocations: 31.86 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3729, allocations: 143.9 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3729, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3729, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.3729, allocations: 0 / 1.071 GB, free: 7.527 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.0006292/0.3735, allocations: 417 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3736, allocations: 8.031 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.3736, allocations: 8.844 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.3738, allocations: 180.2 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3738, allocations: 4.375 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3738, allocations: 4.375 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.374, allocations: 77.95 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.374, allocations: 4 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.374, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.374, allocations: 0 / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.3742, allocations: 35.98 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.3748, allocations: 316.7 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3749, allocations: 50.5 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/0.375, allocations: 40.91 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3751, allocations: 0 / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.3753, allocations: 75.38 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3753, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004277/0.3757, allocations: 149.5 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.3758, allocations: 55.39 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3759, allocations: 121.8 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.3759, allocations: 29.7 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.376, allocations: 92.12 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.376, allocations: 15.75 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.376, allocations: 33.7 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3762, allocations: 318.8 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.3763, allocations: 31.97 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.3764, allocations: 42.56 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3766, allocations: 74.48 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.3766, allocations: 8 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002406/0.3768, allocations: 117.5 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3768, allocations: 4 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3769, allocations: 0 / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3769, allocations: 4 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.312e-05/0.377, allocations: 11.98 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.377, allocations: 3.938 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.377, allocations: 4.062 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.3771, allocations: 12 kB / 1.073 GB, free: 4.977 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 9.541e-05/0.3772, allocations: 123.5 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.3772, allocations: 7.906 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.3772, allocations: 8.359 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3772, allocations: 4 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3773, allocations: 0 / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3773, allocations: 0 / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.3777, allocations: 390.7 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3777, allocations: 0 / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.3778, allocations: 4 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.3778, allocations: 0 / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3778, allocations: 3.984 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3778, allocations: 4 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.3778, allocations: 4.016 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.3781, allocations: 211.4 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.3782, allocations: 85.02 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3782, allocations: 3.984 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.3783, allocations: 7.938 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.3783, allocations: 11.92 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.3783, allocations: 7.938 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.246e-05/0.3784, allocations: 91.27 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3784, allocations: 0 / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003008/0.3787, allocations: 40 kB / 1.074 GB, free: 3.891 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.0003373/0.3791, allocations: 164.4 kB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.3793, allocations: 75.89 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.3793, allocations: 128 / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.256e-05/0.3794, allocations: 39.92 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3797, allocations: 11.98 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004005/0.3801, allocations: 180.2 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3804, allocations: 0.6924 MB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.3804, allocations: 4 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.3805, allocations: 11.44 kB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3805, allocations: 0 / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of Templates: time 0.004055/0.3845, allocations: 1.455 MB / 1.077 GB, free: 1.23 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