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.001379/0.001379, allocations: 108.9 kB / 16.41 MB, free: 6.441 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.001288/0.001289, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.871/2.871, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002695/1.006, allocations: 1.498 MB / 1.169 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001322/1.007, allocations: 0.7323 MB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/1.008, allocations: 3.938 kB / 1.169 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/1.008, allocations: 7.938 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/1.008, allocations: 7.938 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/1.008, allocations: 123.5 kB / 1.17 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/1.008, allocations: 79.77 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.507e-05/1.008, allocations: 4 kB / 1.17 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/1.008, allocations: 35.91 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/1.009, allocations: 47.83 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/1.009, allocations: 4 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/1.009, allocations: 99.84 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/1.009, allocations: 15.97 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/1.009, allocations: 35.8 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/1.009, allocations: 136.5 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.009, allocations: 3.938 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/1.009, allocations: 0 / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.709e-06/1.009, allocations: 0 / 1.17 GB, free: 1.168 MB / 0.8887 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.0006888/1.01, allocations: 424.7 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.01, allocations: 16.86 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/1.01, allocations: 4.891 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/1.01, allocations: 176.3 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/1.01, allocations: 4.375 kB / 1.171 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/1.01, allocations: 4.375 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/1.01, allocations: 77.95 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.01, allocations: 0 / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/1.01, allocations: 3.984 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.01, allocations: 4 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/1.011, allocations: 35.92 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/1.011, allocations: 312.8 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/1.011, allocations: 46.56 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.426e-05/1.011, allocations: 36.97 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/1.011, allocations: 3.984 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/1.012, allocations: 75.31 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/1.012, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004153/1.012, allocations: 145.6 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/1.012, allocations: 67.33 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.012, allocations: 121.7 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.012, allocations: 33.7 kB / 1.172 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/1.012, allocations: 88.09 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/1.012, allocations: 19.89 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/1.012, allocations: 29.7 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.013, allocations: 318.8 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/1.013, allocations: 23.98 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.897e-05/1.013, allocations: 58.48 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/1.013, allocations: 66.55 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.013, allocations: 4 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/1.013, allocations: 117.5 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.013, allocations: 8 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.013, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/1.013, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/1.013, allocations: 15.94 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.013, allocations: 3.984 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/1.013, allocations: 4 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/1.014, allocations: 8 kB / 1.172 GB, free: 14.61 MB / 0.9044 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.0001137/1.014, allocations: 126.9 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/1.014, allocations: 7.953 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/1.014, allocations: 12.36 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.014, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/1.014, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/1.014, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005046/1.014, allocations: 390.2 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.014, allocations: 4 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/1.014, allocations: 8 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/1.014, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.014, allocations: 3.984 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.014, allocations: 0 / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.014, allocations: 3.938 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/1.015, allocations: 211.4 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/1.015, allocations: 81.06 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/1.015, allocations: 11.98 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/1.015, allocations: 0 / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/1.015, allocations: 11.94 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.015, allocations: 3.984 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.568e-05/1.015, allocations: 95.27 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.015, allocations: 0 / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002893/1.015, allocations: 35.94 kB / 1.173 GB, free: 13.52 MB / 0.9044 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.0003607/1.016, allocations: 159.5 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002545/1.016, allocations: 79.88 kB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.016, allocations: 3.938 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/1.016, allocations: 31.98 kB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/1.016, allocations: 16.05 kB / 1.174 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/1.017, allocations: 188.2 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/1.017, allocations: 0.6906 MB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.652e-05/1.017, allocations: 4 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/1.017, allocations: 11.44 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/1.017, allocations: 0 / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.004469/1.022, allocations: 1.456 MB / 1.176 GB, free: 10.86 MB / 0.9044 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 -s cvode -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/jenkins1/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