Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEco|setPoiVAV.TSupCoo|setPoiVAV.y",fileNamePrefix="Buildings_9_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.001104/0.001104, 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.001184/0.001184, 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.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003634, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9493/0.9496, allocations: 142.3 MB / 0.9535 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u): time 0.005116/0.9549, allocations: 2.858 MB / 0.9563 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003073/0.958, allocations: 1.179 MB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006479/0.9587, allocations: 13.09 kB / 0.9575 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.959, allocations: 67.47 kB / 0.9575 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005714/0.9596, allocations: 147.8 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.9604, allocations: 316 kB / 0.958 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000622/0.961, allocations: 0.497 MB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005088/0.9615, allocations: 301.5 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.9618, allocations: 238.2 kB / 0.959 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.9635, allocations: 1.175 MB / 0.9601 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.554e-05/0.9636, allocations: 26.78 kB / 0.9601 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.9638, allocations: 41.22 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.9639, allocations: 109.9 kB / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.964, allocations: 145.1 kB / 0.9604 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007796/0.9648, allocations: 0.888 MB / 0.9613 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.9648, allocations: 0 / 0.9613 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.198e-06/0.9649, allocations: 1.031 kB / 0.9613 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.9649, allocations: 0 / 0.9613 GB, free: 2.352 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.001896/0.9668, allocations: 1.025 MB / 0.9623 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.9668, allocations: 12.97 kB / 0.9623 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.967, allocations: 91.53 kB / 0.9624 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007864/0.9678, allocations: 0.5099 MB / 0.9629 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.9679, allocations: 57.22 kB / 0.9629 GB, free: 1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.968, allocations: 73.38 kB / 0.963 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.9693, allocations: 0.6284 MB / 0.9636 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.9693, allocations: 3.953 kB / 0.9636 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.9694, allocations: 31.56 kB / 0.9637 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.9694, allocations: 16.44 kB / 0.9637 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.9706, allocations: 0.5829 MB / 0.9642 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003365/0.974, allocations: 1.739 MB / 0.9659 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.9754, allocations: 0.5332 MB / 0.9665 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.045e-05/0.9755, allocations: 15.56 kB / 0.9665 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007498/0.9763, allocations: 308.2 kB / 0.9668 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=58): time 2.835e-06/0.9763, allocations: 0 / 0.9668 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58): time 0.001848/0.9781, allocations: 0.7103 MB / 0.9675 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.9782, allocations: 70.94 kB / 0.9675 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006525/0.9789, allocations: 499.8 kB / 0.968 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/0.9789, allocations: 43.52 kB / 0.968 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.9792, allocations: 339.5 kB / 0.9684 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.9794, allocations: 188.6 kB / 0.9685 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.9794, allocations: 9.875 kB / 0.9686 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.9796, allocations: 368.5 kB / 0.9689 GB, free: 13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.9801, allocations: 199.5 kB / 0.9691 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007489/0.9809, allocations: 406 kB / 0.9695 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.9815, allocations: 242.9 kB / 0.9697 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.9815, allocations: 1.219 kB / 0.9697 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001454/0.9829, allocations: 0.656 MB / 0.9704 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007281/0.9837, allocations: 1.567 MB / 0.9719 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.9837, allocations: 8.828 kB / 0.9719 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/0.9837, allocations: 7.375 kB / 0.9719 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.9843, allocations: 145.7 kB / 0.972 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.9844, allocations: 11.38 kB / 0.9721 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005986/0.985, allocations: 103 kB / 0.9722 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.9851, allocations: 28.28 kB / 0.9722 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.9851, allocations: 3.188 kB / 0.9722 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001095/0.9862, allocations: 0.5264 MB / 0.9727 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.9862, allocations: 5.094 kB / 0.9727 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9862, allocations: 11.84 kB / 0.9727 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.9867, allocations: 144.3 kB / 0.9729 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.9867, allocations: 10.11 kB / 0.9729 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.9873, allocations: 88.69 kB / 0.9729 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.9873, allocations: 27 kB / 0.973 GB, free: 10.02 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 15 ($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,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.000517/0.9878, allocations: 290 kB / 0.9732 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.988, allocations: 58.66 kB / 0.9733 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.9894, allocations: 0.6194 MB / 0.9739 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.9894, allocations: 10.11 kB / 0.9739 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.9894, allocations: 3.984 kB / 0.9739 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.9895, allocations: 1.375 kB / 0.9739 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.9925, allocations: 1.654 MB / 0.9755 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.9925, allocations: 5.594 kB / 0.9755 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.993, allocations: 130.2 kB / 0.9757 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-05/0.993, allocations: 12.12 kB / 0.9757 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.993, allocations: 22.25 kB / 0.9757 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-05/0.9931, allocations: 16.7 kB / 0.9757 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/0.9931, allocations: 5.344 kB / 0.9757 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.9947, allocations: 1.085 MB / 0.9768 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.995, allocations: 193.8 kB / 0.977 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.9951, allocations: 17.44 kB / 0.977 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.9955, allocations: 57.03 kB / 0.977 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.9957, allocations: 70.98 kB / 0.9771 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.087e-05/0.9957, allocations: 29.11 kB / 0.9771 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000488/0.9962, allocations: 336.8 kB / 0.9775 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9962, allocations: 1.5 kB / 0.9775 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001131/0.9974, allocations: 249.5 kB / 0.9777 GB, free: 6.551 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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.0004898/0.9979, allocations: 182.1 kB / 0.9779 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.9997, allocations: 0.8137 MB / 0.9787 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9997, allocations: 0 / 0.9787 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006663/1, allocations: 328.7 kB / 0.979 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006366/1.001, allocations: 99.25 kB / 0.9791 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/1.003, allocations: 1.45 MB / 0.9805 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/1.004, allocations: 0.9239 MB / 0.9814 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004569/1.004, allocations: 112.9 kB / 0.9815 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/1.004, allocations: 59.42 kB / 0.9816 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/1.004, allocations: 0 / 0.9816 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of Templates: time 0.01383/1.018, allocations: 6.486 MB / 0.9879 GB, free: 12.06 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_SingleZoneVAVSupply_u.csv","../files/Buildings_9_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches