Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, 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.0009656/0.0009656, 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.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.556/2.556, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003454, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6791/0.6794, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002321/0.6818, allocations: 1.196 MB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.6835, allocations: 0.6667 MB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.6836, allocations: 4 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.6836, allocations: 7.938 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8e-05/0.6837, allocations: 11.95 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.6843, allocations: 99.64 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.6844, allocations: 43.94 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.6846, allocations: 4 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.6847, allocations: 27.91 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.735e-05/0.6848, allocations: 47.77 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.6848, allocations: 4 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.685, allocations: 63.94 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.6851, allocations: 11.92 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.6851, allocations: 37.7 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.6854, allocations: 97.72 kB / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.6854, allocations: 0 / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6854, allocations: 0 / 1.023 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.6854, allocations: 0 / 1.023 GB, free: 14.78 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.0008228/0.6862, allocations: 420.8 kB / 1.023 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6863, allocations: 11.98 kB / 1.023 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/0.6864, allocations: 11.91 kB / 1.023 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.6866, allocations: 171 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.6866, allocations: 0 / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.6866, allocations: 11.95 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.6869, allocations: 65.66 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6869, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.687, allocations: 4 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.687, allocations: 0 / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.6872, allocations: 39.97 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.688, allocations: 336.6 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.6882, allocations: 50.55 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.6882, allocations: 0 / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.6885, allocations: 83.5 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/0.6885, allocations: 0 / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005645/0.6891, allocations: 149.5 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.6892, allocations: 55.41 kB / 1.024 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.6893, allocations: 129.8 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.6893, allocations: 25.7 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.6894, allocations: 88.33 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.6895, allocations: 15.81 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.6895, allocations: 0 / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6896, allocations: 318.8 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.6898, allocations: 31.98 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.6899, allocations: 54.55 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.6901, allocations: 31.95 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.6901, allocations: 4 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003941/0.6905, allocations: 125.4 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6905, allocations: 4 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6905, allocations: 0 / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.6906, allocations: 7.984 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.6907, allocations: 11.98 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.6907, allocations: 3.938 kB / 1.025 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.6908, allocations: 23.83 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.6909, allocations: 4.062 kB / 1.025 GB, free: 12.3 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 0.0001482/0.691, allocations: 123.7 kB / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.6911, allocations: 0 / 1.025 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.6911, allocations: 12.38 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.6911, allocations: 3.938 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.6912, allocations: 3.984 kB / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6912, allocations: 0 / 1.025 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.6918, allocations: 390.8 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6918, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.218e-05/0.6919, allocations: 4 kB / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6919, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.6919, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.6919, allocations: 0 / 1.026 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.692, allocations: 11.88 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.6924, allocations: 223.5 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.6925, allocations: 85.02 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.6925, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.6926, allocations: 7.984 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.6927, allocations: 8 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.6927, allocations: 11.98 kB / 1.026 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.961e-05/0.6928, allocations: 91.28 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6928, allocations: 0 / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005061/0.6933, allocations: 39.98 kB / 1.026 GB, free: 11.2 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.0004866/0.6938, allocations: 159.7 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.6942, allocations: 79.89 kB / 1.026 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6942, allocations: 0 / 1.026 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.6943, allocations: 39.92 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.6946, allocations: 12.7 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.6952, allocations: 201.2 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.6955, allocations: 0.6926 MB / 1.027 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.706e-05/0.6956, allocations: 12.17 kB / 1.027 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.6956, allocations: 11.44 kB / 1.027 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6957, allocations: 0 / 1.027 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of Templates: time 0.005777/0.7014, allocations: 1.327 MB / 1.029 GB, free: 8.629 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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