Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.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.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer",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.526/2.526, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001462/0.001462, allocations: 179.9 kB / 0.4901 GB, free: 2.246 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.974/1.974, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009123/0.0009126, allocations: 87.91 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003649, allocations: 10.44 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3147, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.738/5.053, allocations: 1.927 GB / 3.156 GB, free: 54.06 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/5.054, allocations: 99.94 kB / 3.156 GB, free: 53.96 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.944/7.997, allocations: 0.6878 GB / 3.844 GB, free: 263.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.512e-06/7.998, allocations: 0 / 3.844 GB, free: 263.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003661/7.998, allocations: 47.05 kB / 3.844 GB, free: 263.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.008213/8.006, allocations: 2.078 MB / 3.846 GB, free: 261.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/8.006, allocations: 12.02 kB / 3.846 GB, free: 261.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005228/8.007, allocations: 114.5 kB / 3.846 GB, free: 261.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/8.01, allocations: 341.1 kB / 3.846 GB, free: 260.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/8.015, allocations: 1.298 MB / 3.848 GB, free: 259.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-05/8.015, allocations: 65.98 kB / 3.848 GB, free: 259.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/8.015, allocations: 86.81 kB / 3.848 GB, free: 259.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/8.017, allocations: 0.9165 MB / 3.849 GB, free: 258.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/8.017, allocations: 0 / 3.849 GB, free: 258.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/8.017, allocations: 32 kB / 3.849 GB, free: 258.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/8.017, allocations: 16 kB / 3.849 GB, free: 258.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/8.019, allocations: 0.7875 MB / 3.849 GB, free: 257.6 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006828/8.026, allocations: 3.401 MB / 3.853 GB, free: 254.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/8.027, allocations: 0.6881 MB / 3.853 GB, free: 253.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006721/8.028, allocations: 415.9 kB / 3.854 GB, free: 252.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008313/8.029, allocations: 494.2 kB / 3.854 GB, free: 252.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001464/8.03, allocations: 255 kB / 3.854 GB, free: 252.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=65): time 8.957e-06/8.03, allocations: 3.719 kB / 3.854 GB, free: 252.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=65): time 0.003034/8.033, allocations: 1.292 MB / 3.856 GB, free: 250.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/8.033, allocations: 107.4 kB / 3.856 GB, free: 250.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003832/8.037, allocations: 1.531 MB / 3.857 GB, free: 249.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/8.037, allocations: 45.7 kB / 3.857 GB, free: 249.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007986/8.038, allocations: 0.5962 MB / 3.858 GB, free: 248.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/8.039, allocations: 220.8 kB / 3.858 GB, free: 248.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/8.039, allocations: 8 kB / 3.858 GB, free: 248.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001203/8.039, allocations: 336.5 kB / 3.859 GB, free: 248 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/8.039, allocations: 329.1 kB / 3.859 GB, free: 247.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009418/8.04, allocations: 0.6269 MB / 3.859 GB, free: 247 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008487/8.041, allocations: 392.7 kB / 3.86 GB, free: 246.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/8.041, allocations: 3 kB / 3.86 GB, free: 246.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002197/8.043, allocations: 0.9798 MB / 3.861 GB, free: 245.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000321/8.044, allocations: 0.8211 MB / 3.862 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/8.044, allocations: 4 kB / 3.862 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.735e-05/8.044, allocations: 4 kB / 3.862 GB, free: 244.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/8.045, allocations: 155.8 kB / 3.862 GB, free: 244.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/8.045, allocations: 14.23 kB / 3.862 GB, free: 244.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/8.047, allocations: 133.5 kB / 3.862 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/8.047, allocations: 39.97 kB / 3.862 GB, free: 244.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/8.047, allocations: 5.406 kB / 3.862 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001501/8.048, allocations: 0.8159 MB / 3.863 GB, free: 243.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/8.048, allocations: 4 kB / 3.863 GB, free: 243.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/8.048, allocations: 4 kB / 3.863 GB, free: 243.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007799/8.049, allocations: 159.8 kB / 3.863 GB, free: 243.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/8.049, allocations: 6.516 kB / 3.863 GB, free: 243.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/8.051, allocations: 124.4 kB / 3.863 GB, free: 243.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/8.051, allocations: 35.97 kB / 3.863 GB, free: 243.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.outAir.nextTimeEvent,$whenCondition1,$PRE.cooMod.nextTimeEvent,con.cooMod,con.ecoOff.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled,outAir.nextTimeEvent,$PRE.outAir.nextTimeEventScaled,outAir.nextTimeEventScaled,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0008414/8.052, allocations: 412.6 kB / 3.863 GB, free: 242.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/8.053, allocations: 150.1 kB / 3.864 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/8.055, allocations: 1.052 MB / 3.865 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/8.055, allocations: 8 kB / 3.865 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/8.055, allocations: 2.656 kB / 3.865 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/8.055, allocations: 3.984 kB / 3.865 GB, free: 241.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004251/8.059, allocations: 2.55 MB / 3.867 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/8.059, allocations: 8.219 kB / 3.867 GB, free: 239 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006582/8.06, allocations: 135.6 kB / 3.867 GB, free: 238.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/8.06, allocations: 11.94 kB / 3.867 GB, free: 238.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.457e-05/8.06, allocations: 31.88 kB / 3.867 GB, free: 238.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/8.06, allocations: 11.94 kB / 3.867 GB, free: 238.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/8.06, allocations: 6.188 kB / 3.867 GB, free: 238.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/8.062, allocations: 1.762 MB / 3.869 GB, free: 236.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008167/8.063, allocations: 385.8 kB / 3.869 GB, free: 236.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/8.064, allocations: 19.95 kB / 3.869 GB, free: 236.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/8.065, allocations: 82.84 kB / 3.869 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/8.065, allocations: 59.75 kB / 3.87 GB, free: 236.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/8.065, allocations: 31.98 kB / 3.87 GB, free: 236.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001936/8.067, allocations: 1.206 MB / 3.871 GB, free: 235.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.01e-07/8.067, allocations: 0 / 3.871 GB, free: 235.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002892/8.07, allocations: 0.7253 MB / 3.871 GB, free: 234.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (con.con.I.y,senTemMixAir.T) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,con.cooMod,con.ecoOff.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,outAir.nextTimeEvent,outAir.nextTimeEventScaled) * Number of discrete states: 4 (outAir.nextTimeEvent,cooMod.nextTimeEvent,outAir.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.006825/8.077, allocations: 5.108 MB / 3.876 GB, free: 229.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002421/8.079, allocations: 1.218 MB / 3.878 GB, free: 228.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/8.079, allocations: 0 / 3.878 GB, free: 228.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007305/8.08, allocations: 455.9 kB / 3.878 GB, free: 227.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/8.084, allocations: 0.5792 MB / 3.879 GB, free: 227.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/8.103, allocations: 10.44 MB / 3.889 GB, free: 216.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/8.103, allocations: 1.221 MB / 3.89 GB, free: 215.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001829/8.105, allocations: 360.7 kB / 3.89 GB, free: 214.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/8.106, allocations: 0.5578 MB / 3.891 GB, free: 214.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.292e-06/8.106, allocations: 0 / 3.891 GB, free: 214.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/8.211, allocations: 64.65 MB / 3.954 GB, free: 150.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/8.211, allocations: 264.9 kB / 3.954 GB, free: 149.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.403/12.61, allocations: 0 / 3.954 GB, free: 149.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer_res.mat does not exist to compare? outputFormat=mat