Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001495/0.001495, 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.001646/0.001646, allocations: 193.2 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437 MB / 0.7103 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001468, allocations: 63.89 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.6996, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002743/0.7024, allocations: 1.494 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.7037, allocations: 0.7323 MB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.7038, allocations: 4 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.7038, allocations: 7.875 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.107e-05/0.7039, allocations: 3.938 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.7044, allocations: 127.6 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.7046, allocations: 71.72 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.7046, allocations: 23.97 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.7047, allocations: 31.86 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.7048, allocations: 35.84 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.7049, allocations: 11.98 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.7051, allocations: 91.86 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.7051, allocations: 27.89 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.7052, allocations: 31.86 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.7054, allocations: 145.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7054, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7054, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.7054, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 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.0006052/0.706, allocations: 416.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.7061, allocations: 8.031 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.7061, allocations: 8.844 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.7063, allocations: 176.3 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.7063, allocations: 4.375 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.7063, allocations: 8.375 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.7065, allocations: 69.97 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7065, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.7065, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.7066, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.7067, allocations: 43.97 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.7073, allocations: 320.6 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.7074, allocations: 50.55 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.7075, allocations: 32.97 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.7076, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.7078, allocations: 79.38 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.7078, allocations: 3.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003829/0.7082, allocations: 145.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7082, allocations: 51.41 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.7083, allocations: 121.8 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.7083, allocations: 29.7 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.7084, allocations: 92.14 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.7084, allocations: 11.81 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.7085, allocations: 29.7 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7086, allocations: 322.8 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.164e-05/0.7087, allocations: 27.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.782e-05/0.7088, allocations: 46.55 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.7089, allocations: 74.81 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7089, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002442/0.7092, allocations: 121.5 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7092, allocations: 4 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7092, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.7092, allocations: 7.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.7093, allocations: 19.98 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.7093, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.7094, allocations: 11.84 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.7094, allocations: 7.984 kB / 1.022 GB, free: 13.13 MB / 0.7794 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.742e-05/0.7095, allocations: 121.5 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.7096, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.7096, allocations: 8.375 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.7096, allocations: 12 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7096, allocations: 3.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7096, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.7101, allocations: 386.3 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7101, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.7101, allocations: 7.984 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7101, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.7101, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7102, allocations: 4 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7102, allocations: 7.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.7104, allocations: 207.4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.7105, allocations: 89 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.7105, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.7106, allocations: 7.984 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.7107, allocations: 3.938 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.7107, allocations: 8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.7108, allocations: 95.92 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7108, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000308/0.7111, allocations: 35.98 kB / 1.023 GB, free: 12.05 MB / 0.7794 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.0003236/0.7114, allocations: 164.7 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.7117, allocations: 75.89 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7117, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/0.7118, allocations: 31.98 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.712, allocations: 8.562 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.7124, allocations: 189 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.7127, allocations: 0.6846 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.7127, allocations: 11.92 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.7128, allocations: 11.44 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7128, allocations: 0 / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of Templates: time 0.003922/0.7167, allocations: 1.461 MB / 1.026 GB, free: 9.383 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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