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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001264/0.001264, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009917/0.009917, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7544, allocations: 142.4 MB / 0.955 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.001845/0.7563, allocations: 1.217 MB / 0.9562 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.7577, allocations: 0.7101 MB / 0.9569 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.7578, allocations: 4.969 kB / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.7578, allocations: 0 / 0.9569 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.97e-05/0.7579, allocations: 17 kB / 0.9569 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.7586, allocations: 105.6 kB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.7587, allocations: 78.06 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.7588, allocations: 13.38 kB / 0.9571 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.7589, allocations: 29.36 kB / 0.9572 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.759, allocations: 35.36 kB / 0.9572 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.7591, allocations: 7.219 kB / 0.9572 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.7593, allocations: 92.53 kB / 0.9573 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.668e-05/0.7594, allocations: 10.58 kB / 0.9573 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.7594, allocations: 58.02 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.7598, allocations: 135.5 kB / 0.9575 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7598, allocations: 3.938 kB / 0.9575 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7598, allocations: 1.531 kB / 0.9575 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.7598, allocations: 0 / 0.9575 GB, free: 5.836 MB / 0.7169 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.0006386/0.7604, allocations: 409.2 kB / 0.9579 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.7605, allocations: 8.5 kB / 0.9579 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.7606, allocations: 9.594 kB / 0.9579 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.7607, allocations: 175.5 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.7607, allocations: 10.72 kB / 0.9581 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.7608, allocations: 3.906 kB / 0.9581 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.761, allocations: 71.28 kB / 0.9581 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.761, allocations: 0 / 0.9581 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.761, allocations: 9.625 kB / 0.9582 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.761, allocations: 0 / 0.9582 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.7612, allocations: 43.16 kB / 0.9582 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.7618, allocations: 325.3 kB / 0.9585 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.7619, allocations: 50.88 kB / 0.9586 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.762, allocations: 35.06 kB / 0.9586 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.7621, allocations: 1.406 kB / 0.9586 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.7623, allocations: 79.16 kB / 0.9587 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.7623, allocations: 1.438 kB / 0.9587 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004681/0.7628, allocations: 156.3 kB / 0.9588 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.7628, allocations: 57.19 kB / 0.9589 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.763, allocations: 116.3 kB / 0.959 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.763, allocations: 35.39 kB / 0.959 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.763, allocations: 95.62 kB / 0.9591 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.7631, allocations: 17.69 kB / 0.9591 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.7631, allocations: 21.27 kB / 0.9591 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.7632, allocations: 316.5 kB / 0.9594 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.7633, allocations: 34.92 kB / 0.9595 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.336e-05/0.7634, allocations: 50.11 kB / 0.9595 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.7636, allocations: 83.45 kB / 0.9596 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7636, allocations: 0 / 0.9596 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002614/0.7638, allocations: 115.1 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.7639, allocations: 13.42 kB / 0.9597 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7639, allocations: 0 / 0.9597 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.7639, allocations: 1.375 kB / 0.9597 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.89e-05/0.764, allocations: 13.69 kB / 0.9597 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.764, allocations: 1.375 kB / 0.9597 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.235e-05/0.7641, allocations: 13.42 kB / 0.9598 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.7641, allocations: 6.75 kB / 0.9598 GB, free: 3.699 MB / 0.7169 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.175e-05/0.7642, allocations: 123.2 kB / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.7642, allocations: 6.656 kB / 0.9599 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.7643, allocations: 17.72 kB / 0.9599 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.7643, allocations: 5.375 kB / 0.9599 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.7643, allocations: 0 / 0.9599 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.7643, allocations: 1.375 kB / 0.9599 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.7648, allocations: 384.4 kB / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7648, allocations: 0 / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.7648, allocations: 4.125 kB / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7648, allocations: 5.375 kB / 0.9603 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.7648, allocations: 3.984 kB / 0.9603 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.7649, allocations: 1.375 kB / 0.9603 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7649, allocations: 7.875 kB / 0.9603 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.7651, allocations: 211.8 kB / 0.9605 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.7652, allocations: 86.39 kB / 0.9606 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.7652, allocations: 5.359 kB / 0.9606 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.8e-05/0.7653, allocations: 4.125 kB / 0.9606 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.7654, allocations: 14.67 kB / 0.9606 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.7654, allocations: 10.69 kB / 0.9606 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.7654, allocations: 96.11 kB / 0.9607 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7654, allocations: 1.375 kB / 0.9607 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003359/0.7658, allocations: 35.5 kB / 0.9607 GB, free: 2.781 MB / 0.7169 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.0004153/0.7662, allocations: 162.2 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.7665, allocations: 83.66 kB / 0.961 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7665, allocations: 4.125 kB / 0.961 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.7666, allocations: 34.7 kB / 0.961 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.7669, allocations: 13.36 kB / 0.961 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.7674, allocations: 205.6 kB / 0.9612 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.7675, allocations: 0.6897 MB / 0.9619 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.7676, allocations: 8.859 kB / 0.9619 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.7676, allocations: 10.28 kB / 0.9619 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7676, allocations: 0 / 0.9619 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of Templates: time 0.00443/0.772, allocations: 1.357 MB / 0.9632 GB, free: 1.004 MB / 0.7169 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 -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/jenkins/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