Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.3 MB / 405.3 MB, free: 13.39 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.001837/0.001837, allocations: 181.6 kB / 498.1 MB, free: 5.66 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.606/1.606, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009623/0.000962, allocations: 98.5 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 13.66 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3482, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.376/4.725, allocations: 1.926 GB / 3.149 GB, free: 11.95 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003953/4.725, allocations: 104.6 kB / 3.149 GB, free: 11.89 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.494/7.219, allocations: 0.6878 GB / 3.837 GB, free: 204.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.964e-06/7.219, allocations: 0 / 3.837 GB, free: 204.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001476/7.219, allocations: 39.94 kB / 3.837 GB, free: 204.6 MB / 1.151 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.004836/7.224, allocations: 2.083 MB / 3.839 GB, free: 202.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/7.224, allocations: 16.02 kB / 3.839 GB, free: 202.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/7.224, allocations: 114.5 kB / 3.839 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/7.227, allocations: 329.6 kB / 3.839 GB, free: 202 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/7.23, allocations: 1.295 MB / 3.84 GB, free: 200.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/7.23, allocations: 65.94 kB / 3.84 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/7.23, allocations: 84 kB / 3.841 GB, free: 200.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/7.231, allocations: 0.9153 MB / 3.841 GB, free: 199.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/7.231, allocations: 3.984 kB / 3.841 GB, free: 199.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/7.231, allocations: 28 kB / 3.841 GB, free: 199.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/7.231, allocations: 23.98 kB / 3.841 GB, free: 199.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/7.233, allocations: 0.7846 MB / 3.842 GB, free: 198.7 MB / 1.151 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.004776/7.237, allocations: 3.398 MB / 3.846 GB, free: 195.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/7.239, allocations: 0.6916 MB / 3.846 GB, free: 194.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/7.239, allocations: 408.9 kB / 3.847 GB, free: 194.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007272/7.24, allocations: 498.8 kB / 3.847 GB, free: 193.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001097/7.241, allocations: 251.2 kB / 3.847 GB, free: 193.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 3.256e-06/7.241, allocations: 7.938 kB / 3.847 GB, free: 193.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.002373/7.244, allocations: 1.286 MB / 3.849 GB, free: 192 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/7.244, allocations: 115.4 kB / 3.849 GB, free: 191.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/7.246, allocations: 1.529 MB / 3.85 GB, free: 190.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-05/7.246, allocations: 45.7 kB / 3.85 GB, free: 190.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/7.246, allocations: 0.599 MB / 3.851 GB, free: 189.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/7.246, allocations: 212.9 kB / 3.851 GB, free: 189.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/7.246, allocations: 16 kB / 3.851 GB, free: 189.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.729e-05/7.246, allocations: 329.9 kB / 3.851 GB, free: 189.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005306/7.247, allocations: 325.1 kB / 3.852 GB, free: 188.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/7.248, allocations: 0.6323 MB / 3.852 GB, free: 188.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/7.248, allocations: 388 kB / 3.853 GB, free: 187.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/7.248, allocations: 0 / 3.853 GB, free: 187.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001608/7.25, allocations: 0.9851 MB / 3.854 GB, free: 186.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/7.25, allocations: 0.8093 MB / 3.854 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/7.25, allocations: 7.953 kB / 3.854 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/7.25, allocations: 4 kB / 3.854 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/7.251, allocations: 159.8 kB / 3.855 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/7.251, allocations: 7.938 kB / 3.855 GB, free: 185.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/7.253, allocations: 139.7 kB / 3.855 GB, free: 185.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/7.253, allocations: 43.95 kB / 3.855 GB, free: 185.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/7.253, allocations: 4 kB / 3.855 GB, free: 185.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001324/7.254, allocations: 0.8135 MB / 3.856 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/7.254, allocations: 0 / 3.856 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/7.254, allocations: 4 kB / 3.856 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/7.255, allocations: 155.8 kB / 3.856 GB, free: 184.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/7.255, allocations: 4 kB / 3.856 GB, free: 184.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/7.256, allocations: 127.9 kB / 3.856 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/7.257, allocations: 51.89 kB / 3.856 GB, free: 184.3 MB / 1.151 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.0007174/7.257, allocations: 400.8 kB / 3.856 GB, free: 183.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/7.257, allocations: 150.2 kB / 3.856 GB, free: 183.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/7.259, allocations: 1.066 MB / 3.857 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/7.259, allocations: 4 kB / 3.857 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/7.259, allocations: 4 kB / 3.857 GB, free: 182.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/7.259, allocations: 3.984 kB / 3.857 GB, free: 182.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003514/7.263, allocations: 2.545 MB / 3.86 GB, free: 180 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/7.263, allocations: 0 / 3.86 GB, free: 180 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/7.264, allocations: 140.1 kB / 3.86 GB, free: 179.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/7.264, allocations: 12 kB / 3.86 GB, free: 179.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/7.264, allocations: 23.98 kB / 3.86 GB, free: 179.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/7.264, allocations: 4 kB / 3.86 GB, free: 179.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/7.264, allocations: 8 kB / 3.86 GB, free: 179.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/7.266, allocations: 1.765 MB / 3.862 GB, free: 177.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006642/7.266, allocations: 390.9 kB / 3.862 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/7.267, allocations: 19.98 kB / 3.862 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/7.268, allocations: 71.92 kB / 3.862 GB, free: 177.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/7.268, allocations: 68.41 kB / 3.862 GB, free: 177.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/7.268, allocations: 31.98 kB / 3.862 GB, free: 177.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001602/7.27, allocations: 1.206 MB / 3.864 GB, free: 176.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/7.27, allocations: 0 / 3.864 GB, free: 176.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002284/7.272, allocations: 0.7258 MB / 3.864 GB, free: 175.4 MB / 1.151 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.005712/7.278, allocations: 5.113 MB / 3.869 GB, free: 170.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002144/7.28, allocations: 1.222 MB / 3.871 GB, free: 169 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/7.28, allocations: 0 / 3.871 GB, free: 169 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006576/7.28, allocations: 459.9 kB / 3.871 GB, free: 168.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/7.283, allocations: 0.5939 MB / 3.872 GB, free: 168 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/7.298, allocations: 10.43 MB / 3.882 GB, free: 157.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/7.299, allocations: 1.221 MB / 3.883 GB, free: 155.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001634/7.301, allocations: 350.2 kB / 3.883 GB, free: 155.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007358/7.301, allocations: 0.5656 MB / 3.884 GB, free: 155 MB / 1.151 GB Notification: Performance of SimCode: time 1.163e-06/7.301, allocations: 0 / 3.884 GB, free: 155 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08812/7.389, allocations: 64.64 MB / 3.947 GB, free: 90.87 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/7.39, allocations: 266 kB / 3.947 GB, free: 90.53 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.436/11.83, allocations: 0 / 3.947 GB, free: 90.53 MB / 1.151 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_AirsideEconomizer.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer_res.mat does not exist to compare? outputFormat=mat