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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007841/0.0007885, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008362/0.0008362, allocations: 168.7 kB / 15.95 MB, free: 200 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.326/1.326, allocations: 223.2 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004506, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7627/0.7632, allocations: 142.3 MB / 0.9539 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.002642/0.7659, allocations: 2.14 MB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.7677, allocations: 0.8639 MB / 0.9568 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.7682, allocations: 10.75 kB / 0.9568 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.7684, allocations: 42.2 kB / 0.9568 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.7687, allocations: 37.25 kB / 0.9569 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007321/0.7694, allocations: 232.5 kB / 0.9571 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006686/0.7701, allocations: 0.5041 MB / 0.9576 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004297/0.7705, allocations: 199.3 kB / 0.9578 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.7708, allocations: 134 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.7711, allocations: 152.3 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.224e-05/0.7712, allocations: 14.94 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.7713, allocations: 29.27 kB / 0.9581 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.961e-05/0.7713, allocations: 62.91 kB / 0.9582 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.7715, allocations: 97.67 kB / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004478/0.7719, allocations: 0.5592 MB / 0.9588 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7719, allocations: 0 / 0.9588 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7719, allocations: 1.281 kB / 0.9588 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.555e-05/0.772, allocations: 0 / 0.9588 GB, free: 4.324 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.001209/0.7732, allocations: 0.6959 MB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7732, allocations: 9.625 kB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.7734, allocations: 80.22 kB / 0.9596 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.7735, allocations: 58.8 kB / 0.9596 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.774, allocations: 378.3 kB / 0.96 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.7741, allocations: 32.25 kB / 0.96 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.7742, allocations: 42.25 kB / 0.9601 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007876/0.7749, allocations: 436.7 kB / 0.9605 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.775, allocations: 0.9688 kB / 0.9605 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.775, allocations: 19.45 kB / 0.9605 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.775, allocations: 13.92 kB / 0.9605 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.7757, allocations: 314.1 kB / 0.9608 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.7778, allocations: 1.445 MB / 0.9622 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.7784, allocations: 266.7 kB / 0.9625 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.7787, allocations: 119.4 kB / 0.9626 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.7787, allocations: 3.844 kB / 0.9626 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003668/0.7791, allocations: 199.9 kB / 0.9628 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.7791, allocations: 1.281 kB / 0.9628 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0007475/0.7799, allocations: 342.2 kB / 0.9631 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.7799, allocations: 136.1 kB / 0.9632 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.7804, allocations: 407.9 kB / 0.9636 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.7804, allocations: 33.58 kB / 0.9637 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.7806, allocations: 235.1 kB / 0.9639 GB, free: 444 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.7806, allocations: 88.86 kB / 0.964 GB, free: 364 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.7807, allocations: 6.812 kB / 0.964 GB, free: 360 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.7807, allocations: 352.1 kB / 0.9643 GB, free: 8 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.781, allocations: 125.4 kB / 0.9644 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.7814, allocations: 190.1 kB / 0.9646 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.7817, allocations: 175.5 kB / 0.9648 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7817, allocations: 0 / 0.9648 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008133/0.7825, allocations: 422.9 kB / 0.9652 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.7826, allocations: 146.9 kB / 0.9653 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.7827, allocations: 2 kB / 0.9653 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7827, allocations: 2.375 kB / 0.9653 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.783, allocations: 64.31 kB / 0.9654 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.783, allocations: 2.25 kB / 0.9654 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.7834, allocations: 91.48 kB / 0.9655 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.7834, allocations: 23.72 kB / 0.9655 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.7834, allocations: 4.844 kB / 0.9655 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006559/0.7841, allocations: 357 kB / 0.9658 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7841, allocations: 4.734 kB / 0.9658 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.7841, allocations: 3.625 kB / 0.9659 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.7844, allocations: 50.86 kB / 0.9659 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7844, allocations: 9.984 kB / 0.9659 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.7847, allocations: 81.42 kB / 0.966 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.7848, allocations: 15.39 kB / 0.966 GB, free: 14.97 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.0002334/0.785, allocations: 245.1 kB / 0.9662 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.7851, allocations: 41.11 kB / 0.9663 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.7857, allocations: 300.4 kB / 0.9666 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.7857, allocations: 6.594 kB / 0.9666 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7857, allocations: 0 / 0.9666 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.7858, allocations: 1.188 kB / 0.9666 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.7868, allocations: 0.7788 MB / 0.9673 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.7868, allocations: 0.75 kB / 0.9673 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.7871, allocations: 47.77 kB / 0.9674 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.7871, allocations: 5.594 kB / 0.9674 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.7871, allocations: 10.27 kB / 0.9674 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.7871, allocations: 1.094 kB / 0.9674 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7871, allocations: 0 / 0.9674 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.788, allocations: 0.4898 MB / 0.9679 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.7881, allocations: 126.3 kB / 0.968 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.7882, allocations: 14.94 kB / 0.968 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.7884, allocations: 23.52 kB / 0.968 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.7884, allocations: 16.19 kB / 0.968 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.7885, allocations: 10.97 kB / 0.9681 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003749/0.7888, allocations: 286.9 kB / 0.9683 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7889, allocations: 4.062 kB / 0.9683 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006008/0.7895, allocations: 151.8 kB / 0.9685 GB, free: 13.2 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.001207/0.7907, allocations: 1.044 MB / 0.9695 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.7918, allocations: 0.5715 MB / 0.9701 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.7918, allocations: 0.5625 kB / 0.9701 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.7921, allocations: 128.6 kB / 0.9702 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.7926, allocations: 70.52 kB / 0.9702 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.7968, allocations: 2.231 MB / 0.9724 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.7973, allocations: 0.8023 MB / 0.9732 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002195/0.7975, allocations: 50.75 kB / 0.9733 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.7977, allocations: 146.5 kB / 0.9734 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.7977, allocations: 0 / 0.9734 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.8205, allocations: 8.058 MB / 0.9813 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.8207, allocations: 229 kB / 0.9815 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.651, allocations: 0 / 0.9815 GB, free: 3.484 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.fmu > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat does not exist to compare? outputFormat=mat