Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009195, allocations: 99.16 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.0009732/0.0009732, 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.329/1.329, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.61/2.61, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004161, allocations: 8 kB / 0.8707 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6675/0.6679, allocations: 153.7 MB / 1.021 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001601/0.6696, allocations: 1.199 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.6707, allocations: 0.6745 MB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.6707, allocations: 3.938 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.6707, allocations: 0 / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.6708, allocations: 15.97 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.6713, allocations: 91.64 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.198e-05/0.6714, allocations: 47.94 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.6714, allocations: 11.98 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.6715, allocations: 31.91 kB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.6716, allocations: 31.84 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.6716, allocations: 0 / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.6718, allocations: 71.92 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.6718, allocations: 15.92 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.6719, allocations: 29.7 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.672, allocations: 109.7 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.672, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.672, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.672, allocations: 0 / 1.023 GB, free: 14.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005361/0.6726, allocations: 412.7 kB / 1.023 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6726, allocations: 11.98 kB / 1.023 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.6727, allocations: 7.906 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.897e-05/0.6728, allocations: 163.1 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.6728, allocations: 12 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.6728, allocations: 11.94 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.673, allocations: 69.64 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.673, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.6731, allocations: 7.922 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.6731, allocations: 0 / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.6732, allocations: 59.91 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.6738, allocations: 316.6 kB / 1.024 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.6739, allocations: 54.56 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.6739, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.6741, allocations: 87.48 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.6742, allocations: 3.938 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003806/0.6745, allocations: 149.6 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.6746, allocations: 59.39 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.6747, allocations: 117.8 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.6747, allocations: 29.7 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.6748, allocations: 92.31 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.6748, allocations: 11.81 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.6748, allocations: 4 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6749, allocations: 326.8 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.958e-05/0.675, allocations: 23.98 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.6751, allocations: 46.56 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.373e-05/0.6752, allocations: 47.88 kB / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6752, allocations: 0 / 1.025 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002367/0.6755, allocations: 117.5 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6755, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.6755, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6755, allocations: 4.062 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.6756, allocations: 11.98 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.6757, allocations: 4 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.888e-05/0.6757, allocations: 15.84 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.6758, allocations: 4 kB / 1.025 GB, free: 12.32 MB / 0.7794 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 9.91e-05/0.6759, allocations: 127.4 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.6759, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.6759, allocations: 12.38 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6759, allocations: 0 / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6759, allocations: 4 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.676, allocations: 0 / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.6764, allocations: 382.4 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6764, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.6764, allocations: 15.92 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6765, allocations: 0 / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6765, allocations: 4 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.6765, allocations: 0 / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6765, allocations: 3.938 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.6768, allocations: 219.4 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.6768, allocations: 84.95 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.6768, allocations: 4 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.6769, allocations: 8 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.677, allocations: 3.984 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.677, allocations: 4 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.217e-05/0.677, allocations: 95.86 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.6771, allocations: 0 / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003061/0.6774, allocations: 39.98 kB / 1.026 GB, free: 11.23 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: 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.0003545/0.6777, allocations: 175.8 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.678, allocations: 67.97 kB / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.678, allocations: 4.125 kB / 1.026 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.6781, allocations: 43.92 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.6783, allocations: 7.938 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.6787, allocations: 201.1 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.6789, allocations: 0.6887 MB / 1.027 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.679, allocations: 8.172 kB / 1.027 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.679, allocations: 15.38 kB / 1.027 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.679, allocations: 0 / 1.027 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of Templates: time 0.003773/0.6828, allocations: 1.332 MB / 1.029 GB, free: 8.648 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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