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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_latest_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.0009647/0.0009647, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.001149/0.001149, allocations: 172.7 kB / 15.95 MB, free: 204 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.656/1.656, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.745/2.745, allocations: 409.4 MB / 0.684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003886, allocations: 12 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9238/0.9242, allocations: 146.8 MB / 0.9812 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.003134/0.9274, allocations: 2.153 MB / 0.9833 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.9294, allocations: 0.8657 MB / 0.9841 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.9297, allocations: 11.94 kB / 0.9841 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.9299, allocations: 39.58 kB / 0.9841 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.9301, allocations: 31.72 kB / 0.9842 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000719/0.9308, allocations: 230.4 kB / 0.9844 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005346/0.9313, allocations: 0.5088 MB / 0.9849 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000407/0.9317, allocations: 201 kB / 0.9851 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.932, allocations: 135.3 kB / 0.9852 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.9322, allocations: 151.1 kB / 0.9854 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.151e-05/0.9322, allocations: 16 kB / 0.9854 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.752e-05/0.9323, allocations: 35.91 kB / 0.9854 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.9324, allocations: 59.7 kB / 0.9855 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.9325, allocations: 97.45 kB / 0.9856 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.9331, allocations: 0.5593 MB / 0.9861 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.9331, allocations: 0 / 0.9861 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9331, allocations: 0 / 0.9861 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.9331, allocations: 4 kB / 0.9861 GB, free: 1.133 MB / 0.7325 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.001211/0.9343, allocations: 0.6918 MB / 0.9868 GB, free: 396 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.9344, allocations: 16.02 kB / 0.9868 GB, free: 380 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.9345, allocations: 74.53 kB / 0.9869 GB, free: 296 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.9346, allocations: 55.34 kB / 0.9869 GB, free: 240 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.9352, allocations: 379 kB / 0.9873 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.9353, allocations: 40.94 kB / 0.9873 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.9353, allocations: 40 kB / 0.9874 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.9361, allocations: 434.1 kB / 0.9878 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.9361, allocations: 0 / 0.9878 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.9362, allocations: 27.92 kB / 0.9878 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.9362, allocations: 12 kB / 0.9878 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/0.9368, allocations: 307.8 kB / 0.9881 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.9389, allocations: 1.448 MB / 0.9895 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.9395, allocations: 262.8 kB / 0.9898 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.9397, allocations: 122.1 kB / 0.9899 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.9398, allocations: 4 kB / 0.9899 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.9402, allocations: 200.2 kB / 0.9901 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.984e-06/0.9402, allocations: 0 / 0.9901 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.0007311/0.9409, allocations: 339 kB / 0.9904 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.941, allocations: 132.5 kB / 0.9905 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004902/0.9415, allocations: 413.5 kB / 0.9909 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.9416, allocations: 37.7 kB / 0.991 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.9418, allocations: 232.2 kB / 0.9912 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.9418, allocations: 86.75 kB / 0.9913 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.9419, allocations: 8 kB / 0.9913 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.942, allocations: 346.8 kB / 0.9916 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.9423, allocations: 124.2 kB / 0.9917 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.9426, allocations: 196.6 kB / 0.9919 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.9429, allocations: 162 kB / 0.9921 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.9429, allocations: 0 / 0.9921 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007235/0.9436, allocations: 421.1 kB / 0.9925 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.9438, allocations: 158.7 kB / 0.9926 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.9438, allocations: 0 / 0.9926 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.9438, allocations: 7.953 kB / 0.9926 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.9441, allocations: 59.91 kB / 0.9927 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.9441, allocations: 4 kB / 0.9927 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.9445, allocations: 91.47 kB / 0.9928 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.9445, allocations: 16 kB / 0.9928 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.9445, allocations: 9.5 kB / 0.9928 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005889/0.9451, allocations: 361.8 kB / 0.9931 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.9451, allocations: 0 / 0.9931 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.9451, allocations: 4 kB / 0.9931 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.9454, allocations: 55.91 kB / 0.9932 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.9454, allocations: 4 kB / 0.9932 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.9457, allocations: 88.45 kB / 0.9933 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.9457, allocations: 15.98 kB / 0.9933 GB, free: 9.406 MB / 0.7481 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.0002428/0.946, allocations: 253 kB / 0.9935 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.946, allocations: 39.53 kB / 0.9936 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000584/0.9466, allocations: 301.1 kB / 0.9939 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.9466, allocations: 8 kB / 0.9939 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.9466, allocations: 0 / 0.9939 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9467, allocations: 0 / 0.9939 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.9477, allocations: 0.787 MB / 0.9946 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.9477, allocations: 0 / 0.9946 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.9479, allocations: 47.97 kB / 0.9947 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.9479, allocations: 4 kB / 0.9947 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.9479, allocations: 4 kB / 0.9947 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.948, allocations: 4 kB / 0.9947 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.948, allocations: 3.938 kB / 0.9947 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.9487, allocations: 0.4972 MB / 0.9952 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.9488, allocations: 124.6 kB / 0.9953 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.9489, allocations: 4 kB / 0.9953 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.9491, allocations: 24.05 kB / 0.9953 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.9491, allocations: 19.97 kB / 0.9954 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.9492, allocations: 8 kB / 0.9954 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003136/0.9495, allocations: 287.2 kB / 0.9956 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9495, allocations: 0 / 0.9956 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005302/0.95, allocations: 155.4 kB / 0.9958 GB, free: 6.762 MB / 0.7481 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.001136/0.9512, allocations: 1.036 MB / 0.9968 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009829/0.9522, allocations: 0.5805 MB / 0.9974 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9522, allocations: 0 / 0.9974 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.9524, allocations: 120.1 kB / 0.9975 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.9529, allocations: 62.59 kB / 0.9975 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.9567, allocations: 2.24 MB / 0.9997 GB, free: 2.613 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.9571, allocations: 0.8117 MB / 1.001 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.9573, allocations: 47.25 kB / 1.001 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.9576, allocations: 143.4 kB / 1.001 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of SimCode: time 9.92e-07/0.9576, allocations: 0 / 1.001 GB, free: 1.594 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.9803, allocations: 8.083 MB / 1.009 GB, free: 9.789 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003284/0.9807, allocations: 221.3 kB / 1.009 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.194, allocations: 0 / 1.009 GB, free: 9.547 MB / 0.7637 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.fmu > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat does not exist to compare? outputFormat=mat