Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 100 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.0009573/0.0009575, 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.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 12 kB / 0.8708 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7099/0.7103, allocations: 153.6 MB / 1.021 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001693/0.712, allocations: 1.274 MB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.7132, allocations: 0.7252 MB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.339e-05/0.7133, allocations: 3.938 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.7133, allocations: 3.984 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.7134, allocations: 19.91 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.7139, allocations: 111.7 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.7141, allocations: 83.81 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.7142, allocations: 12 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.7143, allocations: 59.75 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.7144, allocations: 59.8 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.7144, allocations: 8 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.7146, allocations: 67.88 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.7147, allocations: 27.94 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.7147, allocations: 45.64 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.7149, allocations: 133.7 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.7149, allocations: 0 / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.707e-06/0.7149, allocations: 3.984 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.715, allocations: 0 / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007452/0.7157, allocations: 474.1 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.7158, allocations: 15.98 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.7158, allocations: 11.91 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.7159, allocations: 179.4 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.716, allocations: 4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.716, allocations: 8 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.7163, allocations: 105.5 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7163, allocations: 3.984 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.7163, allocations: 0 / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7163, allocations: 8 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.7165, allocations: 67.95 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000819/0.7173, allocations: 380.6 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.7175, allocations: 78.53 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.7176, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.7178, allocations: 111.3 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.7178, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005811/0.7184, allocations: 229.3 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.7185, allocations: 55.41 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.7186, allocations: 144.7 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.7186, allocations: 33.64 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.7187, allocations: 104.4 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.7187, allocations: 19.72 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.7187, allocations: 0 / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7189, allocations: 318.8 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.719, allocations: 48.34 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.7192, allocations: 76.27 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.7193, allocations: 63.86 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7193, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003445/0.7197, allocations: 161.4 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.7197, allocations: 8 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7197, allocations: 0 / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.7197, allocations: 4 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.7199, allocations: 24.02 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.7199, allocations: 7.984 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.72, allocations: 19.84 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.72, allocations: 4 kB / 1.026 GB, free: 11.56 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.00011/0.7202, allocations: 131.8 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.7202, allocations: 11.84 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.7202, allocations: 12.72 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.7202, allocations: 4 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.7202, allocations: 0 / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7202, allocations: 0 / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.7209, allocations: 478.4 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7209, allocations: 64 / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.589e-05/0.721, allocations: 15.98 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.721, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.721, allocations: 3.984 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.721, allocations: 0 / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.721, allocations: 0 / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.7214, allocations: 279.3 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.7215, allocations: 88.95 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.7215, allocations: 0 / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.7217, allocations: 15.98 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.7217, allocations: 7.984 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.7217, allocations: 8 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.096e-05/0.7218, allocations: 109.6 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7218, allocations: 4.188 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003247/0.7222, allocations: 40 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003514/0.7225, allocations: 167.9 kB / 1.027 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.7229, allocations: 119.9 kB / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7229, allocations: 0 / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.723, allocations: 64.16 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.7232, allocations: 15.89 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.7237, allocations: 247 kB / 1.028 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.724, allocations: 0.7004 MB / 1.028 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.327e-05/0.724, allocations: 11.92 kB / 1.028 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.7241, allocations: 11.44 kB / 1.028 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7241, allocations: 4 kB / 1.028 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of Templates: time 0.004152/0.7282, allocations: 1.782 MB / 1.03 GB, free: 7.117 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.ACloseIn,win.ACloseOut,win.AOpenIn,win.AOpenOut,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0