Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,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.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,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.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 100.1 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.001506/0.001506, allocations: 177.3 kB / 15.95 MB, free: 216 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.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 436.5 MB / 0.7104 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005348/0.000535, allocations: 8 kB / 0.8708 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6224/0.6229, allocations: 153.6 MB / 1.021 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.00147/0.6245, allocations: 1.211 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.6255, allocations: 0.7018 MB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.6255, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.6256, allocations: 0 / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.6256, allocations: 27.83 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.626, allocations: 103.7 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.6261, allocations: 59.86 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.6262, allocations: 11.98 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.6263, allocations: 43.89 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.6264, allocations: 47.81 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.6264, allocations: 4 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.6265, allocations: 67.88 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.6266, allocations: 19.91 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.6266, allocations: 45.69 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.6268, allocations: 109.9 kB / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.6268, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6268, allocations: 0 / 1.023 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.6268, allocations: 0 / 1.023 GB, free: 14.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005613/0.6274, allocations: 452.3 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.6274, allocations: 11.98 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.6275, allocations: 8 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.6276, allocations: 178.8 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.6276, allocations: 4 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.6276, allocations: 8 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.6279, allocations: 89.58 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.6279, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.6279, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6279, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.6281, allocations: 59.91 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.6288, allocations: 348.6 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.629, allocations: 58.55 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.629, allocations: 8.172 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.6292, allocations: 99.36 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.204e-06/0.6292, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005009/0.6297, allocations: 181.6 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.6298, allocations: 55.39 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.6299, allocations: 136.6 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.6299, allocations: 25.7 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.63, allocations: 99.98 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.63, allocations: 23.67 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.63, allocations: 7.938 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6301, allocations: 318.8 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.595e-05/0.6302, allocations: 31.98 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.6303, allocations: 68.27 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.6304, allocations: 39.98 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6304, allocations: 3.953 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002566/0.6307, allocations: 137.4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6307, allocations: 8 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.6307, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.6308, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.6309, allocations: 15.98 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.6309, allocations: 4 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.867e-05/0.631, allocations: 23.92 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.631, allocations: 4 kB / 1.026 GB, free: 12.07 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,occ.y,$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 (13): * Single equations (assignments): 13 * 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 8.194e-05/0.6311, allocations: 120 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.6311, allocations: 11.86 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.6311, allocations: 12.36 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6312, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6312, allocations: 0 / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6312, allocations: 12.03 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005582/0.6317, allocations: 430.3 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.6318, allocations: 0 / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.6318, allocations: 4 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6318, allocations: 0 / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.6318, allocations: 12.05 kB / 1.026 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6318, allocations: 7.938 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.6318, allocations: 4.391 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.6322, allocations: 251.3 kB / 1.026 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.6323, allocations: 88.95 kB / 1.026 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.6323, allocations: 4 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6324, allocations: 11.98 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.6325, allocations: 3.984 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.6325, allocations: 8 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.056e-05/0.6326, allocations: 99.27 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6326, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003371/0.6329, allocations: 39.98 kB / 1.027 GB, free: 10.88 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0003239/0.6332, allocations: 160.1 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.6335, allocations: 83.89 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6336, allocations: 4.188 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.6337, allocations: 59.91 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.6339, allocations: 7.953 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.6343, allocations: 224.9 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.6346, allocations: 0.6965 MB / 1.028 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.973e-05/0.6346, allocations: 4 kB / 1.028 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.6346, allocations: 11.44 kB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of SimCode: time 3.61e-07/0.6346, allocations: 0 / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of Templates: time 0.004196/0.6388, allocations: 1.601 MB / 1.029 GB, free: 7.988 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0