Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.236/2.236, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 178.8 kB / 0.4902 GB, free: 2.223 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 97.41 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 10.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2689, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.4605, allocations: 158.5 MB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.4608, allocations: 99.94 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03567/0.4965, allocations: 13.01 MB / 1.397 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4966, allocations: 0 / 1.397 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.172e-05/0.4966, allocations: 8 kB / 1.397 GB, free: 13.86 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001262/0.4979, allocations: 0.8681 MB / 1.398 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4979, allocations: 8.031 kB / 1.398 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.721e-05/0.498, allocations: 34.56 kB / 1.398 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.4981, allocations: 71.11 kB / 1.398 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.4989, allocations: 459.6 kB / 1.398 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4989, allocations: 8 kB / 1.398 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.499, allocations: 4 kB / 1.398 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.4992, allocations: 108.1 kB / 1.398 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4992, allocations: 0 / 1.398 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4992, allocations: 0 / 1.398 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4992, allocations: 4 kB / 1.398 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4993, allocations: 43.97 kB / 1.398 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008311/0.5002, allocations: 0.5318 MB / 1.399 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.5006, allocations: 106.6 kB / 1.399 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.5006, allocations: 96 / 1.399 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.5008, allocations: 99.31 kB / 1.399 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.5008, allocations: 0 / 1.399 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0004071/0.5012, allocations: 192.8 kB / 1.399 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.5013, allocations: 106.8 kB / 1.399 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000985/0.5023, allocations: 0.7889 MB / 1.4 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.5023, allocations: 33.64 kB / 1.4 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.5026, allocations: 304 kB / 1.4 GB, free: 9.883 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.5026, allocations: 27.67 kB / 1.401 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.5026, allocations: 0 / 1.401 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5027, allocations: 310 kB / 1.401 GB, free: 9.547 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.5028, allocations: 31.97 kB / 1.401 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.5029, allocations: 84.2 kB / 1.401 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.648e-05/0.503, allocations: 35.98 kB / 1.401 GB, free: 9.383 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.503, allocations: 0 / 1.401 GB, free: 9.383 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002766/0.5033, allocations: 164.8 kB / 1.401 GB, free: 9.215 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.5033, allocations: 4 kB / 1.401 GB, free: 9.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5034, allocations: 4.031 kB / 1.401 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5034, allocations: 0 / 1.401 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.5035, allocations: 23.94 kB / 1.401 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5035, allocations: 0 / 1.401 GB, free: 9.184 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.5036, allocations: 11.98 kB / 1.401 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5036, allocations: 0 / 1.401 GB, free: 9.172 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.sta.combiTimeTable.nextTimeEvent,speSel.stage,sta.combiTimeTable.nextTimeEvent,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0003272/0.504, allocations: 319.4 kB / 1.401 GB, free: 8.852 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.504, allocations: 63.16 kB / 1.402 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003499/0.5044, allocations: 191.6 kB / 1.402 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5044, allocations: 4 kB / 1.402 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5044, allocations: 3.953 kB / 1.402 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5044, allocations: 0 / 1.402 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.5048, allocations: 393.4 kB / 1.402 GB, free: 8.145 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5048, allocations: 4 kB / 1.402 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.5049, allocations: 15.92 kB / 1.402 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5049, allocations: 0 / 1.402 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.5049, allocations: 0 / 1.402 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5049, allocations: 3.938 kB / 1.402 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5049, allocations: 0 / 1.402 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.5052, allocations: 204.2 kB / 1.402 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.5054, allocations: 152.2 kB / 1.402 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.5055, allocations: 0 / 1.402 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5056, allocations: 7.984 kB / 1.402 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.5057, allocations: 11.98 kB / 1.402 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.5057, allocations: 4 kB / 1.402 GB, free: 7.711 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007756/0.5065, allocations: 0.6512 MB / 1.403 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5065, allocations: 0 / 1.403 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003522/0.5068, allocations: 87.94 kB / 1.403 GB, free: 6.977 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,speSel.stage,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001742/0.5086, allocations: 1.228 MB / 1.404 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.5089, allocations: 95.86 kB / 1.404 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5089, allocations: 0 / 1.404 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.509, allocations: 39.97 kB / 1.405 GB, free: 5.754 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.5096, allocations: 130.9 kB / 1.405 GB, free: 5.625 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.5142, allocations: 3.685 MB / 1.408 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.5149, allocations: 0.9939 MB / 1.409 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001715/0.515, allocations: 50.22 kB / 1.409 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.5153, allocations: 176.4 kB / 1.409 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of SimCode: time 6.91e-07/0.5153, allocations: 0 / 1.409 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.5448, allocations: 13.53 MB / 1.423 GB, free: 3.371 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.545, allocations: 246.9 kB / 1.423 GB, free: 3.074 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.747, allocations: 2.672 kB / 1.423 GB, free: 3.074 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect_res.mat does not exist to compare? outputFormat=mat