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 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.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.001552/0.001552, allocations: 112.5 kB / 15.73 MB, free: 76 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.002471/0.002471, allocations: 192.3 kB / 16.67 MB, free: 6.57 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.394/1.394, allocations: 222.9 MB / 240.3 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7452 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 79.81 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3572, allocations: 159.9 MB / 1.226 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003335/0.3606, allocations: 1.491 MB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.362, allocations: 0.7437 MB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.3621, allocations: 8 kB / 1.228 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.3622, allocations: 7.922 kB / 1.228 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.3623, allocations: 7.875 kB / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.3629, allocations: 123.6 kB / 1.228 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.3631, allocations: 63.84 kB / 1.228 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3632, allocations: 27.91 kB / 1.228 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.3633, allocations: 35.86 kB / 1.228 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.59e-05/0.3634, allocations: 43.81 kB / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.3634, allocations: 8 kB / 1.228 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.3637, allocations: 87.92 kB / 1.228 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.3637, allocations: 27.84 kB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.3638, allocations: 31.86 kB / 1.228 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.3641, allocations: 139.5 kB / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3641, allocations: 0 / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3641, allocations: 0 / 1.228 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3641, allocations: 0 / 1.228 GB, free: 6.426 MB / 0.9825 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.0007369/0.3649, allocations: 424.7 kB / 1.229 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3649, allocations: 8.031 kB / 1.229 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/0.365, allocations: 12.89 kB / 1.229 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3651, allocations: 172.3 kB / 1.229 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.3651, allocations: 12.25 kB / 1.229 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3652, allocations: 4.375 kB / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3654, allocations: 73.91 kB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-06/0.3654, allocations: 0 / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3654, allocations: 8 kB / 1.229 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3654, allocations: 0 / 1.229 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3655, allocations: 35.97 kB / 1.229 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.3662, allocations: 316.7 kB / 1.229 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3663, allocations: 54.5 kB / 1.229 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.3664, allocations: 32.97 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3664, allocations: 0 / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.3667, allocations: 75.38 kB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3667, allocations: 0 / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004004/0.3671, allocations: 149.6 kB / 1.23 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.3671, allocations: 55.41 kB / 1.23 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.3673, allocations: 126.1 kB / 1.23 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3673, allocations: 29.7 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.3673, allocations: 88.14 kB / 1.23 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3674, allocations: 15.89 kB / 1.23 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.3675, allocations: 25.7 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3676, allocations: 322.8 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.3677, allocations: 31.98 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3678, allocations: 50.59 kB / 1.23 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.368, allocations: 74.48 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.368, allocations: 0 / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002505/0.3683, allocations: 125.5 kB / 1.231 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3683, allocations: 4 kB / 1.231 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3683, allocations: 3.984 kB / 1.231 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3683, allocations: 4 kB / 1.231 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.3684, allocations: 8 kB / 1.231 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3684, allocations: 0 / 1.231 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.3685, allocations: 11.92 kB / 1.231 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.3685, allocations: 4 kB / 1.231 GB, free: 3.867 MB / 0.9825 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.0001011/0.3686, allocations: 130.3 kB / 1.231 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.3687, allocations: 7.953 kB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.3687, allocations: 8.359 kB / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3687, allocations: 4 kB / 1.231 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3687, allocations: 0 / 1.231 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3687, allocations: 0 / 1.231 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.3692, allocations: 382.4 kB / 1.231 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3692, allocations: 4 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.3693, allocations: 7.938 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3693, allocations: 3.938 kB / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3693, allocations: 0 / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3693, allocations: 3.984 kB / 1.231 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.3693, allocations: 11.94 kB / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.3696, allocations: 199.5 kB / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.3697, allocations: 89.06 kB / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.3697, allocations: 0 / 1.231 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.3698, allocations: 7.984 kB / 1.231 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.3698, allocations: 3.938 kB / 1.231 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3699, allocations: 7.984 kB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.077e-05/0.3699, allocations: 95.27 kB / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3699, allocations: 0 / 1.231 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003117/0.3702, allocations: 43.81 kB / 1.232 GB, free: 2.773 MB / 0.9825 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.0003635/0.3706, allocations: 159.9 kB / 1.232 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.3709, allocations: 71.95 kB / 1.232 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3709, allocations: 0 / 1.232 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.371, allocations: 35.92 kB / 1.232 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.3713, allocations: 20 kB / 1.232 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.3717, allocations: 188.2 kB / 1.232 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.3722, allocations: 0.6885 MB / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.3722, allocations: 7.984 kB / 1.233 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.3722, allocations: 11.44 kB / 1.233 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.3723, allocations: 4 kB / 1.233 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.004309/0.3766, allocations: 1.45 MB / 1.234 GB, free: 116 kB / 0.9825 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