Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Herkel2008WindowsTiltedOpen,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.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_10_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.00579/0.00579, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00115/0.00115, allocations: 199 kB / 16.68 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.651/2.651, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 1.019 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3565, allocations: 151.6 MB / 1.167 GB, free: 6.93 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002626/0.3592, allocations: 1.494 MB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3605, allocations: 0.74 MB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.3605, allocations: 0 / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.3606, allocations: 3.938 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-05/0.3606, allocations: 11.86 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.3612, allocations: 119.6 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3613, allocations: 75.77 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.3614, allocations: 11.94 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.3615, allocations: 47.89 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.3616, allocations: 27.91 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3616, allocations: 8 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.3618, allocations: 95.84 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.3619, allocations: 19.91 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.3619, allocations: 31.86 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3622, allocations: 143.5 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3622, allocations: 0 / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3622, allocations: 0 / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.3622, allocations: 0 / 1.169 GB, free: 4.086 MB / 0.92 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.0006679/0.3629, allocations: 432.6 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3629, allocations: 8.031 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.363, allocations: 8.891 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3631, allocations: 180.2 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.3631, allocations: 12.31 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.3632, allocations: 4.375 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3633, allocations: 65.97 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3634, allocations: 4 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.3634, allocations: 4 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3634, allocations: 0 / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.3635, allocations: 43.95 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.3642, allocations: 304.8 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.3643, allocations: 58.5 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.3644, allocations: 36.91 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.3644, allocations: 7.984 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.3646, allocations: 67.39 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3646, allocations: 0 / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.00039/0.365, allocations: 153.8 kB / 1.171 GB, free: 2.547 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3651, allocations: 51.41 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3652, allocations: 117.8 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3652, allocations: 33.69 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.3653, allocations: 92.09 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.3653, allocations: 19.84 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.3654, allocations: 29.64 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3655, allocations: 322.8 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.3656, allocations: 31.98 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.944e-05/0.3657, allocations: 43 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3659, allocations: 78.55 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3659, allocations: 4 kB / 1.171 GB, free: 1.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002348/0.3661, allocations: 117.5 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3661, allocations: 10.03 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3661, allocations: 0 / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3662, allocations: 0 / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.3663, allocations: 11.98 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3663, allocations: 4 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.3664, allocations: 4 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.3664, allocations: 64 / 1.172 GB, free: 1.527 MB / 0.92 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.844e-05/0.3665, allocations: 135.9 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.3665, allocations: 3.953 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.3665, allocations: 16.38 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3666, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3666, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3666, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004798/0.3671, allocations: 390.4 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3671, allocations: 0 / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.3671, allocations: 7.984 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3671, allocations: 0 / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3671, allocations: 4 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3671, allocations: 0 / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3672, allocations: 3.938 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.3674, allocations: 215.4 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.3675, allocations: 85 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3675, allocations: 0 / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.3676, allocations: 4 kB / 1.172 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.3677, allocations: 11.92 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3677, allocations: 3.938 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.428e-05/0.3677, allocations: 107.4 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3678, allocations: 0 / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002988/0.3681, allocations: 35.92 kB / 1.173 GB, free: 436 kB / 0.92 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.0003551/0.3684, allocations: 160 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.3687, allocations: 72.12 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3687, allocations: 4 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.3688, allocations: 35.97 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.369, allocations: 4.125 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.3695, allocations: 184.2 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.3698, allocations: 0.6885 MB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.607e-05/0.3698, allocations: 11.92 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.3698, allocations: 7.438 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3698, allocations: 4 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of Templates: time 0.004074/0.3739, allocations: 1.457 MB / 1.175 GB, free: 13.76 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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