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.00164/0.001641, 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.002139/0.002139, 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 2.967/2.967, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.483/5.483, allocations: 409.2 MB / 0.6838 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007728/0.0007728, allocations: 12 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989/1.99, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature): time 0.00587/1.996, allocations: 2.161 MB / 0.983 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004137/2, allocations: 0.8462 MB / 0.9838 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005721/2.001, allocations: 7.938 kB / 0.9838 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001501/2.001, allocations: 27.66 kB / 0.9839 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/2.002, allocations: 67.77 kB / 0.9839 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/2.003, allocations: 234.2 kB / 0.9841 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009896/2.004, allocations: 325.4 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009792/2.005, allocations: 201 kB / 0.9846 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/2.006, allocations: 139.3 kB / 0.9848 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/2.006, allocations: 155.1 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/2.006, allocations: 16 kB / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/2.007, allocations: 31.97 kB / 0.985 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/2.007, allocations: 51.77 kB / 0.985 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/2.007, allocations: 97.45 kB / 0.9851 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/2.008, allocations: 0.5593 MB / 0.9857 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/2.008, allocations: 0 / 0.9857 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.799e-06/2.008, allocations: 0 / 0.9857 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.353e-05/2.008, allocations: 0 / 0.9857 GB, free: 1.383 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.002228/2.01, allocations: 0.6956 MB / 0.9863 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.934e-05/2.01, allocations: 12.03 kB / 0.9864 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/2.011, allocations: 82.52 kB / 0.9864 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/2.011, allocations: 55.34 kB / 0.9865 GB, free: 488 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/2.012, allocations: 375 kB / 0.9868 GB, free: 72 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/2.012, allocations: 33 kB / 0.9869 GB, free: 40 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/2.012, allocations: 52 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/2.013, allocations: 430.1 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/2.013, allocations: 0 / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/2.013, allocations: 19.98 kB / 0.9874 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/2.013, allocations: 12 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/2.015, allocations: 307.9 kB / 0.9877 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/2.019, allocations: 1.459 MB / 0.9891 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/2.02, allocations: 254.8 kB / 0.9893 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/2.02, allocations: 4.406 kB / 0.9893 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007532/2.021, allocations: 200.3 kB / 0.9895 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 5.04e-06/2.021, allocations: 0 / 0.9895 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.001467/2.022, allocations: 343 kB / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/2.022, allocations: 132.6 kB / 0.99 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/2.023, allocations: 413.5 kB / 0.9904 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.759e-05/2.024, allocations: 33.7 kB / 0.9904 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/2.024, allocations: 232.1 kB / 0.9906 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/2.024, allocations: 90.73 kB / 0.9907 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/2.024, allocations: 8 kB / 0.9907 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0004043/2.025, allocations: 346.8 kB / 0.991 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/2.025, allocations: 124.3 kB / 0.9912 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/2.026, allocations: 196.5 kB / 0.9914 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/2.026, allocations: 158 kB / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/2.026, allocations: 0 / 0.9915 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001451/2.028, allocations: 428.5 kB / 0.9919 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000818/2.028, allocations: 485.1 kB / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/2.029, allocations: 0 / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/2.029, allocations: 4 kB / 0.9924 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/2.029, allocations: 55.91 kB / 0.9924 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.882e-05/2.029, allocations: 7.984 kB / 0.9924 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/2.03, allocations: 92.75 kB / 0.9925 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/2.03, allocations: 16 kB / 0.9925 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/2.03, allocations: 4 kB / 0.9925 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001281/2.031, allocations: 365.8 kB / 0.9929 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/2.031, allocations: 0 / 0.9929 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/2.031, allocations: 4 kB / 0.9929 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/2.032, allocations: 55.91 kB / 0.993 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/2.032, allocations: 4 kB / 0.993 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/2.032, allocations: 83.61 kB / 0.993 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/2.032, allocations: 15.98 kB / 0.9931 GB, free: 9.445 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.0006601/2.033, allocations: 241.1 kB / 0.9933 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/2.033, allocations: 47.48 kB / 0.9933 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/2.034, allocations: 309 kB / 0.9936 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/2.034, allocations: 4 kB / 0.9936 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/2.034, allocations: 0 / 0.9936 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/2.035, allocations: 0 / 0.9936 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/2.037, allocations: 0.7793 MB / 0.9944 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/2.037, allocations: 3.953 kB / 0.9944 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/2.037, allocations: 55.84 kB / 0.9944 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/2.037, allocations: 4 kB / 0.9944 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/2.037, allocations: 4 kB / 0.9945 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/2.037, allocations: 4 kB / 0.9945 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/2.037, allocations: 0 / 0.9945 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/2.039, allocations: 0.4965 MB / 0.9949 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/2.039, allocations: 128.5 kB / 0.9951 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/2.039, allocations: 4 kB / 0.9951 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/2.039, allocations: 24.09 kB / 0.9951 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/2.039, allocations: 23.95 kB / 0.9951 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/2.039, allocations: 8 kB / 0.9951 GB, free: 7.223 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005571/2.04, allocations: 287.2 kB / 0.9954 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/2.04, allocations: 0 / 0.9954 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001014/2.041, allocations: 159.4 kB / 0.9955 GB, free: 6.789 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.002355/2.043, allocations: 1.04 MB / 0.9966 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002017/2.045, allocations: 0.5767 MB / 0.9971 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/2.045, allocations: 0 / 0.9971 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004497/2.046, allocations: 128.3 kB / 0.9972 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/2.047, allocations: 55.39 kB / 0.9973 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/2.05, allocations: 1.71 MB / 0.999 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/2.051, allocations: 0.8194 MB / 0.9998 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003161/2.051, allocations: 47.27 kB / 0.9998 GB, free: 2.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/2.052, allocations: 147.4 kB / 1 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of SimCode: time 2.505e-06/2.052, allocations: 0 / 1 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06072/2.113, allocations: 7.873 MB / 1.008 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004721/2.113, allocations: 227.1 kB / 1.008 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.867/5.98, allocations: 2.344 kB / 1.008 GB, free: 10.28 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