Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001535/0.001535, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.219 MB / 190.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.563/2.563, allocations: 390.3 MB / 0.6653 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 8 kB / 0.8145 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7812/0.7816, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001572/0.7832, allocations: 1.19 MB / 0.9547 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.7843, allocations: 0.6747 MB / 0.9553 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.7844, allocations: 5.281 kB / 0.9553 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.841e-05/0.7844, allocations: 0 / 0.9553 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.7845, allocations: 13.11 kB / 0.9553 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.785, allocations: 94.7 kB / 0.9554 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.7851, allocations: 43.19 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.7852, allocations: 13.38 kB / 0.9555 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.844e-05/0.7852, allocations: 36.59 kB / 0.9555 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.281e-05/0.7853, allocations: 35.7 kB / 0.9556 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.7854, allocations: 3.156 kB / 0.9556 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.7855, allocations: 63.53 kB / 0.9556 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.7855, allocations: 14.33 kB / 0.9556 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.7856, allocations: 38.56 kB / 0.9557 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.7858, allocations: 95.3 kB / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7858, allocations: 0 / 0.9558 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7858, allocations: 3.938 kB / 0.9558 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.7858, allocations: 5.094 kB / 0.9558 GB, free: 6.328 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.0005409/0.7863, allocations: 412.7 kB / 0.9562 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7864, allocations: 9.25 kB / 0.9562 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.7864, allocations: 12.05 kB / 0.9562 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/0.7865, allocations: 166.4 kB / 0.9563 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.7866, allocations: 3.188 kB / 0.9564 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.7866, allocations: 7.375 kB / 0.9564 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.7868, allocations: 70.81 kB / 0.9564 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.7868, allocations: 0 / 0.9564 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.7868, allocations: 0 / 0.9564 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.7869, allocations: 5.297 kB / 0.9564 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.787, allocations: 54.03 kB / 0.9565 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.7876, allocations: 321.9 kB / 0.9568 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.7877, allocations: 50.48 kB / 0.9568 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.7877, allocations: 5.062 kB / 0.9568 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.7879, allocations: 83.88 kB / 0.9569 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.7879, allocations: 0 / 0.9569 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003883/0.7883, allocations: 153.3 kB / 0.9571 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.7884, allocations: 56.59 kB / 0.9571 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.7885, allocations: 120.8 kB / 0.9572 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.7885, allocations: 26.58 kB / 0.9573 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.7885, allocations: 90.7 kB / 0.9573 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.7885, allocations: 15.72 kB / 0.9574 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.7886, allocations: 0 / 0.9574 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.7886, allocations: 320.3 kB / 0.9577 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.7887, allocations: 33.17 kB / 0.9577 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.7888, allocations: 59.02 kB / 0.9578 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/0.7889, allocations: 31.64 kB / 0.9578 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7889, allocations: 4 kB / 0.9578 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002111/0.7891, allocations: 113.6 kB / 0.9579 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.7891, allocations: 7.062 kB / 0.9579 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7891, allocations: 3.984 kB / 0.9579 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7892, allocations: 10.55 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.7892, allocations: 8.062 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.7893, allocations: 8.031 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.7893, allocations: 13.67 kB / 0.9579 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.7893, allocations: 4.781 kB / 0.958 GB, free: 4.266 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.7894, allocations: 117.8 kB / 0.9581 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.7894, allocations: 7.875 kB / 0.9581 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.7895, allocations: 12.36 kB / 0.9581 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7895, allocations: 5.797 kB / 0.9581 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7895, allocations: 4 kB / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7895, allocations: 0 / 0.9581 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.7899, allocations: 380.7 kB / 0.9585 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7899, allocations: 0 / 0.9585 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.7899, allocations: 8.188 kB / 0.9585 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.7899, allocations: 5.547 kB / 0.9585 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.79, allocations: 5.656 kB / 0.9585 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.79, allocations: 3.984 kB / 0.9585 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.79, allocations: 0 / 0.9585 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.7902, allocations: 215.8 kB / 0.9587 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.7902, allocations: 82.05 kB / 0.9588 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.7903, allocations: 5.234 kB / 0.9588 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.7904, allocations: 11.92 kB / 0.9588 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.7904, allocations: 6.969 kB / 0.9588 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.7904, allocations: 6.859 kB / 0.9588 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.7905, allocations: 95.3 kB / 0.9589 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7905, allocations: 0 / 0.9589 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003205/0.7908, allocations: 37.03 kB / 0.9589 GB, free: 3.355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003095/0.7911, allocations: 175.1 kB / 0.9591 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.7913, allocations: 74.33 kB / 0.9592 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7914, allocations: 1.375 kB / 0.9592 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.7914, allocations: 42.05 kB / 0.9592 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.7916, allocations: 8.641 kB / 0.9592 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.792, allocations: 197.8 kB / 0.9594 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.7921, allocations: 0.6941 MB / 0.9601 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.7921, allocations: 2.875 kB / 0.9601 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.7922, allocations: 11.19 kB / 0.9601 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7922, allocations: 0 / 0.9601 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of Templates: time 0.003998/0.7962, allocations: 1.331 MB / 0.9614 GB, free: 1.594 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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