Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001596/0.001596, allocations: 110.1 kB / 16.37 MB, free: 5.984 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.001781/0.001782, allocations: 194.5 kB / 17.31 MB, free: 5.602 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 64.14 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2667, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002882/0.2696, allocations: 1.508 MB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.2709, allocations: 0.7245 MB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.271, allocations: 0 / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.271, allocations: 7.875 kB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.566e-05/0.2711, allocations: 15.86 kB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.2716, allocations: 119.6 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2718, allocations: 79.75 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.544e-05/0.2719, allocations: 12 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.727e-05/0.2719, allocations: 35.91 kB / 0.9536 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.272, allocations: 39.83 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.272, allocations: 4 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.2722, allocations: 99.84 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.2723, allocations: 19.92 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.2723, allocations: 31.86 kB / 0.9537 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.2725, allocations: 143.6 kB / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2725, allocations: 0 / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2725, allocations: 0 / 0.9539 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2726, allocations: 4 kB / 0.9539 GB, free: 5.195 MB / 0.7325 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.0005834/0.2731, allocations: 416.9 kB / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2732, allocations: 12.03 kB / 0.9543 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.2732, allocations: 4.844 kB / 0.9543 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2733, allocations: 176.2 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.2734, allocations: 4.375 kB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2734, allocations: 8.375 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.2736, allocations: 73.91 kB / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2736, allocations: 4 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2736, allocations: 0 / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2736, allocations: 3.938 kB / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.2737, allocations: 35.97 kB / 0.9546 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.2744, allocations: 320.6 kB / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.2745, allocations: 50.56 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.2746, allocations: 44.95 kB / 0.955 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2746, allocations: 0 / 0.955 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.2748, allocations: 75.36 kB / 0.9551 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2748, allocations: 0 / 0.9551 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003944/0.2752, allocations: 145.5 kB / 0.9552 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.2753, allocations: 55.41 kB / 0.9553 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/0.2754, allocations: 117.8 kB / 0.9554 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2754, allocations: 29.7 kB / 0.9554 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.2755, allocations: 88.14 kB / 0.9555 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.2755, allocations: 19.81 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.2755, allocations: 29.7 kB / 0.9555 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2756, allocations: 330.8 kB / 0.9558 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.2757, allocations: 23.98 kB / 0.9559 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.004e-05/0.2758, allocations: 46.56 kB / 0.9559 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.276, allocations: 70.48 kB / 0.956 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.276, allocations: 8 kB / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002295/0.2762, allocations: 109.5 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2762, allocations: 8 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2763, allocations: 3.938 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2763, allocations: 0 / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2764, allocations: 23.98 kB / 0.9561 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.2764, allocations: 3.938 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.2765, allocations: 7.906 kB / 0.9561 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2765, allocations: 8.062 kB / 0.9561 GB, free: 2.637 MB / 0.7325 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.588e-05/0.2766, allocations: 121.8 kB / 0.9563 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.2766, allocations: 4 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.2766, allocations: 8.375 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2766, allocations: 0 / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2767, allocations: 0 / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2767, allocations: 0 / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.2771, allocations: 398.2 kB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2771, allocations: 0 / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.2772, allocations: 7.984 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2772, allocations: 0 / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2772, allocations: 0 / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2772, allocations: 0 / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2772, allocations: 3.938 kB / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.2775, allocations: 207.5 kB / 0.9569 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.2776, allocations: 84.95 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.2776, allocations: 11.94 kB / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.2777, allocations: 0 / 0.9569 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.2777, allocations: 11.92 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.2777, allocations: 0 / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.2778, allocations: 95.27 kB / 0.957 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2778, allocations: 0 / 0.957 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002876/0.2781, allocations: 39.98 kB / 0.9571 GB, free: 1.559 MB / 0.7325 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.0003305/0.2784, allocations: 168.8 kB / 0.9572 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.2787, allocations: 75.89 kB / 0.9573 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2787, allocations: 0 / 0.9573 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.2788, allocations: 40.09 kB / 0.9574 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.279, allocations: 6.656 kB / 0.9574 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.2795, allocations: 184.3 kB / 0.9575 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.2797, allocations: 0.6922 MB / 0.9582 GB, free: 360 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.2798, allocations: 11.97 kB / 0.9582 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.2798, allocations: 19.38 kB / 0.9582 GB, free: 328 kB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2798, allocations: 0 / 0.9582 GB, free: 328 kB / 0.7325 GB Notification: Performance of Templates: time 0.004211/0.284, allocations: 1.445 MB / 0.9597 GB, free: 14.88 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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