Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, 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.001173/0.001173, 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.517/1.517, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.812/2.812, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004754/0.0004756, allocations: 12 kB / 0.8708 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.062, allocations: 153.7 MB / 1.021 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.002989/1.065, allocations: 2.163 MB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001525/1.066, allocations: 0.8423 MB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/1.066, allocations: 4 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.618e-05/1.067, allocations: 39.52 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002145/1.067, allocations: 71.77 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/1.067, allocations: 230.7 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/1.068, allocations: 321.5 kB / 1.024 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/1.068, allocations: 205 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/1.068, allocations: 139.3 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/1.069, allocations: 143.2 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/1.069, allocations: 16 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.338e-05/1.069, allocations: 31.97 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/1.069, allocations: 59.7 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.951e-05/1.069, allocations: 97.45 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005124/1.069, allocations: 0.5628 MB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.069, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.535e-06/1.07, allocations: 4 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.206e-06/1.07, allocations: 0 / 1.026 GB, free: 12.12 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001167/1.071, allocations: 0.6917 MB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.071, allocations: 8.031 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/1.071, allocations: 59.34 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005421/1.071, allocations: 375 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/1.071, allocations: 33 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/1.072, allocations: 47.95 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/1.072, allocations: 426.1 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.072, allocations: 3.984 kB / 1.027 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/1.072, allocations: 27.98 kB / 1.027 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/1.072, allocations: 12 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005813/1.073, allocations: 303.9 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/1.075, allocations: 1.448 MB / 1.029 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/1.076, allocations: 271.2 kB / 1.029 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/1.076, allocations: 4 kB / 1.029 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003544/1.076, allocations: 198.7 kB / 1.029 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/1.076, allocations: 0 / 1.029 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007189/1.077, allocations: 339.4 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/1.077, allocations: 140.5 kB / 1.03 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/1.077, allocations: 409.5 kB / 1.03 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/1.077, allocations: 33.7 kB / 1.03 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/1.078, allocations: 232.2 kB / 1.03 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/1.078, allocations: 90.73 kB / 1.031 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/1.078, allocations: 8 kB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.078, allocations: 346.8 kB / 1.031 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/1.078, allocations: 124.3 kB / 1.031 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/1.078, allocations: 188.6 kB / 1.031 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/1.079, allocations: 165.9 kB / 1.031 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.079, allocations: 4 kB / 1.031 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007234/1.079, allocations: 417.2 kB / 1.032 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002614/1.08, allocations: 491.1 kB / 1.032 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/1.08, allocations: 0 / 1.032 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.08, allocations: 4 kB / 1.032 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/1.08, allocations: 63.91 kB / 1.032 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.08, allocations: 7.984 kB / 1.032 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003659/1.08, allocations: 83.48 kB / 1.032 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/1.081, allocations: 19.95 kB / 1.032 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.081, allocations: 5.875 kB / 1.032 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005883/1.081, allocations: 361.8 kB / 1.033 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/1.081, allocations: 8.125 kB / 1.033 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-06/1.081, allocations: 0 / 1.033 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/1.081, allocations: 55.91 kB / 1.033 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.081, allocations: 4 kB / 1.033 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/1.082, allocations: 87.48 kB / 1.033 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/1.082, allocations: 15.98 kB / 1.033 GB, free: 4.27 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: 6 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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.000234/1.082, allocations: 241.1 kB / 1.033 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/1.082, allocations: 43.48 kB / 1.033 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005764/1.083, allocations: 301.1 kB / 1.033 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/1.083, allocations: 3.938 kB / 1.033 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.083, allocations: 4 kB / 1.033 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.083, allocations: 0 / 1.033 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/1.084, allocations: 0.7763 MB / 1.034 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.084, allocations: 4 kB / 1.034 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/1.084, allocations: 51.91 kB / 1.034 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.084, allocations: 0 / 1.034 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/1.084, allocations: 8 kB / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.084, allocations: 0 / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.084, allocations: 0 / 1.034 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/1.085, allocations: 0.496 MB / 1.035 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/1.085, allocations: 128.5 kB / 1.035 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/1.085, allocations: 7.938 kB / 1.035 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/1.085, allocations: 19.98 kB / 1.035 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/1.085, allocations: 19.91 kB / 1.035 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/1.085, allocations: 16.06 kB / 1.035 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003066/1.086, allocations: 287.2 kB / 1.035 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.086, allocations: 0 / 1.035 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005084/1.086, allocations: 159.4 kB / 1.035 GB, free: 1.629 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001795/1.086, allocations: 115.2 kB / 1.036 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009607/1.087, allocations: 0.5771 MB / 1.036 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.087, allocations: 0 / 1.036 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/1.087, allocations: 123.9 kB / 1.036 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/1.088, allocations: 59.58 kB / 1.036 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/1.089, allocations: 0.7665 MB / 1.037 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/1.089, allocations: 0.8156 MB / 1.038 GB, free: 15.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001629/1.09, allocations: 47.27 kB / 1.038 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/1.09, allocations: 39.42 kB / 1.038 GB, free: 15.01 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/1.09, allocations: 0 / 1.038 GB, free: 15.01 MB / 0.795 GB Notification: Performance of Templates: time 0.009222/1.099, allocations: 4.402 MB / 1.042 GB, free: 10.68 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches