Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001322/0.001322, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00187/0.00187, allocations: 172.7 kB / 15.95 MB, free: 208 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.497/1.497, allocations: 223.3 MB / 240 MB, free: 5.223 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.551/2.551, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004437, allocations: 11.94 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9243/0.9248, allocations: 142.4 MB / 0.9544 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.002466/0.9273, allocations: 2.148 MB / 0.9565 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.9289, allocations: 0.8651 MB / 0.9574 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.9291, allocations: 10.12 kB / 0.9574 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.9293, allocations: 39.73 kB / 0.9574 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.9294, allocations: 38.81 kB / 0.9575 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.93, allocations: 230.3 kB / 0.9577 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.9305, allocations: 0.5028 MB / 0.9582 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003412/0.9308, allocations: 196 kB / 0.9584 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.931, allocations: 142.3 kB / 0.9585 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.9312, allocations: 152 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.9313, allocations: 14.81 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.962e-05/0.9314, allocations: 29.67 kB / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.9314, allocations: 57.55 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.9316, allocations: 98.58 kB / 0.9588 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.932, allocations: 0.5589 MB / 0.9594 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.932, allocations: 1.094 kB / 0.9594 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.856e-06/0.932, allocations: 3.984 kB / 0.9594 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.9321, allocations: 4 kB / 0.9594 GB, free: 3.855 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001017/0.9331, allocations: 0.6925 MB / 0.9601 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.9331, allocations: 9.406 kB / 0.9601 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.9332, allocations: 58.45 kB / 0.9601 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.9337, allocations: 375.6 kB / 0.9605 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.464e-05/0.9338, allocations: 30.88 kB / 0.9605 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-05/0.9338, allocations: 47.53 kB / 0.9606 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.9346, allocations: 440.5 kB / 0.961 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.9346, allocations: 0 / 0.961 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.9346, allocations: 15.75 kB / 0.961 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.9347, allocations: 11 kB / 0.961 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.9353, allocations: 316.9 kB / 0.9613 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.9372, allocations: 1.445 MB / 0.9627 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.9378, allocations: 258.6 kB / 0.963 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.938, allocations: 124.9 kB / 0.9631 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.9381, allocations: 2.375 kB / 0.9631 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.9384, allocations: 200.1 kB / 0.9633 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.9384, allocations: 4 kB / 0.9633 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007285/0.9392, allocations: 335.4 kB / 0.9636 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.9392, allocations: 136.1 kB / 0.9637 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004487/0.9397, allocations: 406.9 kB / 0.9641 GB, free: 304 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.9397, allocations: 33.52 kB / 0.9642 GB, free: 268 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.9399, allocations: 240.2 kB / 0.9644 GB, free: 48 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.1e-05/0.94, allocations: 85.7 kB / 0.9645 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.94, allocations: 7.5 kB / 0.9645 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.9402, allocations: 351.3 kB / 0.9648 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.9404, allocations: 124.2 kB / 0.9649 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.9408, allocations: 199.7 kB / 0.9651 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.9411, allocations: 170 kB / 0.9653 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.9411, allocations: 0 / 0.9653 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008086/0.9419, allocations: 414.3 kB / 0.9657 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.9421, allocations: 152.8 kB / 0.9658 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.9421, allocations: 0.9688 kB / 0.9658 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.9421, allocations: 2.375 kB / 0.9658 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.9424, allocations: 59.91 kB / 0.9659 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.9424, allocations: 2.844 kB / 0.9659 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.9428, allocations: 88.89 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.9428, allocations: 22.88 kB / 0.966 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.9429, allocations: 8.156 kB / 0.966 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006638/0.9435, allocations: 365.4 kB / 0.9664 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.9436, allocations: 0.9688 kB / 0.9664 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.9436, allocations: 4.031 kB / 0.9664 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.9438, allocations: 53.91 kB / 0.9664 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.9438, allocations: 6.844 kB / 0.9664 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.9441, allocations: 86.7 kB / 0.9665 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.9442, allocations: 10.97 kB / 0.9665 GB, free: 14.59 MB / 0.7325 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.0002542/0.9444, allocations: 249.3 kB / 0.9667 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-05/0.9445, allocations: 40.7 kB / 0.9668 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006494/0.9452, allocations: 299.9 kB / 0.9671 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.9452, allocations: 7.953 kB / 0.9671 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9452, allocations: 0 / 0.9671 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.9452, allocations: 3.984 kB / 0.9671 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.9463, allocations: 0.7801 MB / 0.9678 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.9463, allocations: 4.938 kB / 0.9679 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.9465, allocations: 47.78 kB / 0.9679 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.9466, allocations: 0.9688 kB / 0.9679 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.9466, allocations: 6.094 kB / 0.9679 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.9466, allocations: 9.906 kB / 0.9679 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.9466, allocations: 0 / 0.9679 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008208/0.9474, allocations: 0.493 MB / 0.9684 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.9475, allocations: 127.1 kB / 0.9685 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.9476, allocations: 6 kB / 0.9685 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.9478, allocations: 24.27 kB / 0.9685 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.9479, allocations: 16.94 kB / 0.9686 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.9479, allocations: 10.22 kB / 0.9686 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003393/0.9483, allocations: 286.4 kB / 0.9688 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9483, allocations: 0 / 0.9688 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006187/0.9489, allocations: 152 kB / 0.969 GB, free: 12.82 MB / 0.7325 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.000184/0.9491, allocations: 113.9 kB / 0.9691 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009995/0.9501, allocations: 0.5706 MB / 0.9697 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9501, allocations: 1.156 kB / 0.9697 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.9504, allocations: 125.9 kB / 0.9698 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.9508, allocations: 61.28 kB / 0.9698 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.9521, allocations: 0.771 MB / 0.9706 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.9525, allocations: 0.8055 MB / 0.9714 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.9527, allocations: 51.09 kB / 0.9714 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.9528, allocations: 33.91 kB / 0.9715 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.9528, allocations: 0 / 0.9715 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.009838/0.9627, allocations: 4.388 MB / 0.9757 GB, free: 8.809 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches