Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.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.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, 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.001513/0.001513, 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.524/1.524, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.729/2.729, allocations: 436.5 MB / 0.7104 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 11.98 kB / 0.8707 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8286/0.829, allocations: 153.7 MB / 1.021 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.003706/0.8327, allocations: 3.151 MB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.8351, allocations: 1.334 MB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.8355, allocations: 15.94 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.8357, allocations: 63.3 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.8362, allocations: 191.3 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.8369, allocations: 350 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006698/0.8376, allocations: 0.5872 MB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.8381, allocations: 338.8 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.8384, allocations: 282.7 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.8399, allocations: 1.201 MB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.84, allocations: 28 kB / 1.028 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.8401, allocations: 39.92 kB / 1.028 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.8402, allocations: 127.4 kB / 1.028 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.8404, allocations: 157.2 kB / 1.028 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008208/0.8412, allocations: 0.9991 MB / 1.029 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.8412, allocations: 0 / 1.029 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8412, allocations: 0 / 1.029 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.8412, allocations: 0 / 1.029 GB, free: 8.285 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001882/0.8431, allocations: 1.112 MB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8432, allocations: 11.98 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.8433, allocations: 98.88 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008186/0.8441, allocations: 0.5762 MB / 1.031 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.8442, allocations: 62 kB / 1.031 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.8443, allocations: 76 kB / 1.031 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.8456, allocations: 0.675 MB / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.8456, allocations: 0 / 1.032 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.8457, allocations: 32 kB / 1.032 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.8457, allocations: 19.98 kB / 1.032 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.8469, allocations: 0.6091 MB / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.8502, allocations: 2.15 MB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.8513, allocations: 454.3 kB / 1.035 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.8513, allocations: 16.42 kB / 1.035 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006548/0.852, allocations: 360.1 kB / 1.036 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=52): time 2.344e-06/0.852, allocations: 0 / 1.036 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of matching and sorting (n=52): time 0.001525/0.8535, allocations: 0.6817 MB / 1.036 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.8536, allocations: 218 kB / 1.036 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.8543, allocations: 0.6213 MB / 1.037 GB, free: 256 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.8544, allocations: 45.7 kB / 1.037 GB, free: 204 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.8547, allocations: 387.8 kB / 1.037 GB, free: 15.81 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.8548, allocations: 165.6 kB / 1.038 GB, free: 15.65 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.8549, allocations: 12 kB / 1.038 GB, free: 15.64 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.855, allocations: 386.7 kB / 1.038 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.8555, allocations: 209.9 kB / 1.038 GB, free: 15.05 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007029/0.8562, allocations: 472.8 kB / 1.039 GB, free: 14.49 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.8567, allocations: 244.7 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.8568, allocations: 4 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00126/0.858, allocations: 0.6944 MB / 1.04 GB, free: 13.55 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005745/0.8586, allocations: 1.66 MB / 1.041 GB, free: 11.76 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.8586, allocations: 4 kB / 1.041 GB, free: 11.76 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.8587, allocations: 8 kB / 1.041 GB, free: 11.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.8592, allocations: 143.7 kB / 1.041 GB, free: 11.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.8592, allocations: 11.95 kB / 1.041 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.8598, allocations: 119.2 kB / 1.041 GB, free: 11.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.8599, allocations: 27.94 kB / 1.041 GB, free: 11.45 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.8599, allocations: 9.875 kB / 1.041 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001079/0.861, allocations: 0.58 MB / 1.042 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.861, allocations: 4.469 kB / 1.042 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.268e-06/0.861, allocations: 12 kB / 1.042 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/0.8615, allocations: 135.7 kB / 1.042 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8615, allocations: 4 kB / 1.042 GB, free: 10.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005102/0.862, allocations: 119.2 kB / 1.042 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/0.8621, allocations: 28 kB / 1.042 GB, free: 10.57 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,setPoiVAV.fanSpe.u2,setPoiVAV.isUnoMod.y,setPoiVAV.not1.u,opeMod.y,setPoiVAV.unoMod.y,plotConfiguration.activate_internal,setPoiVAV.y1SupFan,$PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.00037/0.8624, allocations: 303.3 kB / 1.043 GB, free: 10.26 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/0.8625, allocations: 79.06 kB / 1.043 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.8638, allocations: 0.6165 MB / 1.043 GB, free: 9.551 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.8638, allocations: 4 kB / 1.043 GB, free: 9.547 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8638, allocations: 0 / 1.043 GB, free: 9.547 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.8638, allocations: 11.98 kB / 1.043 GB, free: 9.535 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.8661, allocations: 1.522 MB / 1.045 GB, free: 7.914 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8661, allocations: 8.031 kB / 1.045 GB, free: 7.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.8665, allocations: 107.8 kB / 1.045 GB, free: 7.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.8665, allocations: 4 kB / 1.045 GB, free: 7.797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.8666, allocations: 19.98 kB / 1.045 GB, free: 7.777 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/0.8666, allocations: 8 kB / 1.045 GB, free: 7.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8666, allocations: 7.938 kB / 1.045 GB, free: 7.762 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.8683, allocations: 1.149 MB / 1.046 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.8685, allocations: 208 kB / 1.046 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.709e-05/0.8686, allocations: 23.98 kB / 1.046 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.869, allocations: 59.27 kB / 1.046 GB, free: 6.16 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.8692, allocations: 63.86 kB / 1.046 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.8692, allocations: 35.92 kB / 1.046 GB, free: 6.062 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004468/0.8697, allocations: 427 kB / 1.047 GB, free: 5.648 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8697, allocations: 0 / 1.047 GB, free: 5.648 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008393/0.8705, allocations: 291 kB / 1.047 GB, free: 5.363 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 1 (setPoiVAV.ramLim.y) * Number of discrete variables: 13 (scaTem.sampleTrigger,scaYFan.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast,setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Number of discrete states: 2 (setPoiVAV.gre.greHys.y,setPoiVAV.heaSta.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.0004099/0.8709, allocations: 191.3 kB / 1.047 GB, free: 5.188 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.8726, allocations: 0.8573 MB / 1.048 GB, free: 4.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8726, allocations: 0 / 1.048 GB, free: 4.34 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.8732, allocations: 293.2 kB / 1.048 GB, free: 4.055 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/0.8739, allocations: 134.8 kB / 1.049 GB, free: 3.926 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.876, allocations: 1.514 MB / 1.05 GB, free: 2.332 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.8766, allocations: 0.951 MB / 1.051 GB, free: 1.352 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000476/0.8771, allocations: 117.6 kB / 1.051 GB, free: 1.234 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.8773, allocations: 71.41 kB / 1.051 GB, free: 1.164 MB / 0.795 GB Notification: Performance of SimCode: time 4.6e-07/0.8773, allocations: 4 kB / 1.051 GB, free: 1.16 MB / 0.795 GB Notification: Performance of Templates: time 0.01598/0.8933, allocations: 8.388 MB / 1.059 GB, free: 8.883 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.csv","../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches