Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001171/0.001171, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.385/2.385, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7498/0.7512, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00242/0.7537, allocations: 1.555 MB / 0.9504 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.7548, allocations: 0.7366 MB / 0.9512 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.7548, allocations: 5.312 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.7549, allocations: 7.938 kB / 0.9512 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.7549, allocations: 9.25 kB / 0.9512 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.7554, allocations: 100.7 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.7555, allocations: 70.58 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.874e-05/0.7555, allocations: 9.297 kB / 0.9513 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.7556, allocations: 34.78 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.473e-05/0.7557, allocations: 47.67 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.7557, allocations: 2.719 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.7559, allocations: 86.5 kB / 0.9515 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.7559, allocations: 22.69 kB / 0.9515 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.756, allocations: 24.83 kB / 0.9516 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.7562, allocations: 142.8 kB / 0.9517 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7562, allocations: 0 / 0.9517 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.7562, allocations: 0 / 0.9517 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.7562, allocations: 0 / 0.9517 GB, free: 6.996 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.0005045/0.7567, allocations: 424.4 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.7567, allocations: 9.969 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.7568, allocations: 3.5 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.559e-05/0.7569, allocations: 168.1 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.7569, allocations: 6.906 kB / 0.9523 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.7569, allocations: 9.172 kB / 0.9523 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.7571, allocations: 75.14 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7571, allocations: 5.219 kB / 0.9524 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.7571, allocations: 0 / 0.9524 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7571, allocations: 5.312 kB / 0.9524 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.7573, allocations: 40.44 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.7578, allocations: 317.7 kB / 0.9527 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.7579, allocations: 48.94 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.758, allocations: 34.94 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.758, allocations: 1.125 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.7582, allocations: 76.84 kB / 0.9529 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.7582, allocations: 0 / 0.9529 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003648/0.7586, allocations: 140.9 kB / 0.953 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.7586, allocations: 61.64 kB / 0.9531 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.7587, allocations: 116 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.7587, allocations: 30.92 kB / 0.9532 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.7587, allocations: 91.12 kB / 0.9533 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.7588, allocations: 14.44 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.7588, allocations: 30.2 kB / 0.9533 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.204e-05/0.7589, allocations: 317.1 kB / 0.9536 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.621e-05/0.7589, allocations: 34.5 kB / 0.9537 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.759, allocations: 56.7 kB / 0.9537 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.7592, allocations: 79.16 kB / 0.9538 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7592, allocations: 4 kB / 0.9538 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002159/0.7594, allocations: 113.2 kB / 0.9539 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.7594, allocations: 6.062 kB / 0.9539 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7594, allocations: 1 kB / 0.9539 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.7595, allocations: 1.125 kB / 0.9539 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.7595, allocations: 12.48 kB / 0.9539 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.7596, allocations: 5.75 kB / 0.9539 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/0.7596, allocations: 16.14 kB / 0.9539 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.7597, allocations: 7.219 kB / 0.954 GB, free: 4.832 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 6.366e-05/0.7597, allocations: 119.1 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.7597, allocations: 10.78 kB / 0.9541 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.7598, allocations: 14.75 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.7598, allocations: 1.156 kB / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.7598, allocations: 0 / 0.9541 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7598, allocations: 3.984 kB / 0.9541 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.7602, allocations: 386.8 kB / 0.9545 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7602, allocations: 1.219 kB / 0.9545 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.7602, allocations: 7.438 kB / 0.9545 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.7602, allocations: 0 / 0.9545 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7602, allocations: 4.969 kB / 0.9545 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7602, allocations: 1.125 kB / 0.9545 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7603, allocations: 3.938 kB / 0.9545 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.7605, allocations: 205.2 kB / 0.9547 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.7605, allocations: 83.48 kB / 0.9548 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.7605, allocations: 1.125 kB / 0.9548 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-05/0.7606, allocations: 14.83 kB / 0.9548 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.7607, allocations: 6.375 kB / 0.9548 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.7607, allocations: 6.516 kB / 0.9548 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.7607, allocations: 88.78 kB / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7607, allocations: 0 / 0.9549 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002846/0.761, allocations: 44.83 kB / 0.9549 GB, free: 3.922 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,occ.y,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.0003029/0.7613, allocations: 166.3 kB / 0.9551 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.7616, allocations: 73.67 kB / 0.9551 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7616, allocations: 0 / 0.9551 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.7617, allocations: 40.78 kB / 0.9552 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.7619, allocations: 8.5 kB / 0.9552 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.7623, allocations: 191.3 kB / 0.9554 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.7624, allocations: 0.6958 MB / 0.956 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.563e-05/0.7624, allocations: 3.5 kB / 0.9561 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.7624, allocations: 11.06 kB / 0.9561 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7625, allocations: 0 / 0.9561 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of Templates: time 0.003542/0.766, allocations: 1.372 MB / 0.9574 GB, free: 2.148 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0