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.005894/0.005894, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001327/0.001327, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.638/2.638, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.84 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9437/0.9449, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002574/0.9475, allocations: 1.495 MB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.9488, allocations: 0.7245 MB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.9489, allocations: 4 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.9489, allocations: 11.88 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.949, allocations: 11.91 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.9495, allocations: 119.6 kB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.9496, allocations: 75.7 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.9497, allocations: 15.94 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.9498, allocations: 35.89 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.9499, allocations: 39.84 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.9499, allocations: 8 kB / 1.169 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.9501, allocations: 95.84 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.9502, allocations: 19.92 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.9502, allocations: 35.84 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.9504, allocations: 139 kB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.9504, allocations: 0 / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.41e-07/0.9505, allocations: 0 / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.9505, allocations: 0 / 1.169 GB, free: 0.9883 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.0005676/0.951, allocations: 433.7 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.9511, allocations: 8.922 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.9511, allocations: 8.891 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.9512, allocations: 172.3 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.9513, allocations: 4.375 kB / 1.17 GB, free: 292 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.9513, allocations: 8.375 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.9514, allocations: 69.97 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.9515, allocations: 0 / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.9515, allocations: 7.984 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.9515, allocations: 7.938 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.9516, allocations: 43.91 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.9522, allocations: 312.7 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.9523, allocations: 46.56 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.078e-05/0.9524, allocations: 36.97 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.9524, allocations: 3.984 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.9526, allocations: 79.31 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.9526, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003604/0.953, allocations: 141.6 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.953, allocations: 59.47 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.9531, allocations: 121.8 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.9531, allocations: 33.69 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.9532, allocations: 92.09 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.9532, allocations: 11.91 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.9533, allocations: 25.7 kB / 1.171 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.9534, allocations: 326.8 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.9535, allocations: 27.98 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.9536, allocations: 50.5 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.9537, allocations: 70.55 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9538, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000263/0.954, allocations: 117.5 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.9541, allocations: 7.938 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.9541, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9541, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.427e-05/0.9542, allocations: 15.92 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.9542, allocations: 3.938 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.9543, allocations: 7.938 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.9543, allocations: 4 kB / 1.172 GB, free: 14.43 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 8.926e-05/0.9544, allocations: 129.8 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.9544, allocations: 7.953 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.9544, allocations: 4.375 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.9544, allocations: 4 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.9545, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.9545, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.9549, allocations: 386.4 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.9549, allocations: 0 / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.955, allocations: 11.98 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.955, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.955, allocations: 0 / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.955, allocations: 4 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.955, allocations: 3.938 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.9553, allocations: 211.4 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.9554, allocations: 85.06 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.9554, allocations: 8 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.9555, allocations: 4 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.9555, allocations: 7.922 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.9555, allocations: 4 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.9556, allocations: 95.27 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9556, allocations: 0 / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002822/0.9559, allocations: 39.92 kB / 1.173 GB, free: 13.34 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.0003051/0.9562, allocations: 175.6 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.9564, allocations: 71.89 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9564, allocations: 0 / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.471e-05/0.9565, allocations: 35.97 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.9568, allocations: 9.625 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.9571, allocations: 184.2 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.9574, allocations: 0.6885 MB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.9574, allocations: 7.984 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.9575, allocations: 11.44 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.9575, allocations: 0 / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.003785/0.9613, allocations: 1.468 MB / 1.175 GB, free: 10.66 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 -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