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.273/2.273, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.0009829/0.0009829, allocations: 184.1 kB / 492.3 MB, free: 0.5859 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.541/1.541, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.000872/0.0008721, allocations: 87.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.211e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2558, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.91/6.165, allocations: 1.926 GB / 3.138 GB, free: 342.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/6.166, allocations: 96.91 kB / 3.138 GB, free: 342.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.552/8.718, allocations: 0.6872 GB / 3.826 GB, free: 94.71 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.445e-06/8.718, allocations: 4 kB / 3.826 GB, free: 94.71 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003209/8.718, allocations: 43.92 kB / 3.826 GB, free: 94.67 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.006094/8.724, allocations: 1.617 MB / 3.827 GB, free: 93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.736e-05/8.724, allocations: 8.031 kB / 3.827 GB, free: 92.99 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004919/8.725, allocations: 118.5 kB / 3.827 GB, free: 92.87 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00381/8.728, allocations: 341.6 kB / 3.828 GB, free: 92.53 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004496/8.733, allocations: 1.259 MB / 3.829 GB, free: 91.22 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/8.733, allocations: 62 kB / 3.829 GB, free: 91.16 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/8.733, allocations: 87.95 kB / 3.829 GB, free: 91.07 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/8.735, allocations: 0.883 MB / 3.83 GB, free: 90.17 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/8.735, allocations: 0 / 3.83 GB, free: 90.17 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-05/8.736, allocations: 28 kB / 3.83 GB, free: 90.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/8.736, allocations: 16 kB / 3.83 GB, free: 90.12 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/8.737, allocations: 0.7263 MB / 3.831 GB, free: 89.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00747/8.745, allocations: 3.406 MB / 3.834 GB, free: 85.88 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/8.746, allocations: 0.6382 MB / 3.835 GB, free: 85.23 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005566/8.746, allocations: 395.2 kB / 3.835 GB, free: 84.84 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006612/8.747, allocations: 404.9 kB / 3.835 GB, free: 84.38 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007054/8.748, allocations: 466.9 kB / 3.836 GB, free: 83.91 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001604/8.749, allocations: 251.2 kB / 3.836 GB, free: 83.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 4.789e-06/8.749, allocations: 4 kB / 3.836 GB, free: 83.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.001934/8.751, allocations: 0.911 MB / 3.837 GB, free: 82.74 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/8.751, allocations: 115.3 kB / 3.837 GB, free: 82.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/8.754, allocations: 1.493 MB / 3.838 GB, free: 81.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.68e-05/8.754, allocations: 41.7 kB / 3.838 GB, free: 81.05 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/8.755, allocations: 0.6034 MB / 3.839 GB, free: 80.44 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/8.755, allocations: 216.9 kB / 3.839 GB, free: 80.22 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/8.755, allocations: 12 kB / 3.839 GB, free: 80.21 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001233/8.755, allocations: 330 kB / 3.84 GB, free: 79.88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/8.755, allocations: 301.5 kB / 3.84 GB, free: 79.59 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/8.756, allocations: 0.6023 MB / 3.84 GB, free: 78.87 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/8.757, allocations: 369.1 kB / 3.841 GB, free: 78.51 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/8.757, allocations: 0 / 3.841 GB, free: 78.51 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001556/8.758, allocations: 0.9305 MB / 3.842 GB, free: 77.57 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004063/8.759, allocations: 0.8171 MB / 3.843 GB, free: 76.68 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/8.759, allocations: 4 kB / 3.843 GB, free: 76.68 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/8.759, allocations: 4 kB / 3.843 GB, free: 76.67 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/8.76, allocations: 155.8 kB / 3.843 GB, free: 76.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/8.76, allocations: 7.938 kB / 3.843 GB, free: 76.51 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/8.762, allocations: 139.7 kB / 3.843 GB, free: 76.38 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/8.762, allocations: 47.89 kB / 3.843 GB, free: 76.33 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/8.762, allocations: 5.25 kB / 3.843 GB, free: 76.32 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001253/8.763, allocations: 0.7589 MB / 3.844 GB, free: 75.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/8.763, allocations: 7.938 kB / 3.844 GB, free: 75.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/8.763, allocations: 7.953 kB / 3.844 GB, free: 75.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/8.764, allocations: 155.8 kB / 3.844 GB, free: 75.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/8.764, allocations: 4 kB / 3.844 GB, free: 75.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/8.765, allocations: 131.8 kB / 3.844 GB, free: 75.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/8.765, allocations: 39.95 kB / 3.844 GB, free: 75.23 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 () * 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.0002967/8.765, allocations: 156.6 kB / 3.844 GB, free: 75.07 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/8.766, allocations: 150.1 kB / 3.844 GB, free: 74.92 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/8.768, allocations: 1.015 MB / 3.845 GB, free: 73.89 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/8.768, allocations: 11.95 kB / 3.845 GB, free: 73.88 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/8.768, allocations: 0 / 3.845 GB, free: 73.88 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/8.768, allocations: 3.984 kB / 3.845 GB, free: 73.88 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/8.772, allocations: 2.483 MB / 3.848 GB, free: 71.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/8.772, allocations: 4 kB / 3.848 GB, free: 71.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/8.772, allocations: 131.8 kB / 3.848 GB, free: 71.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/8.772, allocations: 8 kB / 3.848 GB, free: 71.15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/8.772, allocations: 23.92 kB / 3.848 GB, free: 71.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/8.772, allocations: 8 kB / 3.848 GB, free: 71.12 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/8.772, allocations: 0 / 3.848 GB, free: 71.12 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/8.775, allocations: 1.695 MB / 3.849 GB, free: 69.29 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007265/8.775, allocations: 394.8 kB / 3.85 GB, free: 68.88 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/8.776, allocations: 16 kB / 3.85 GB, free: 68.87 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/8.777, allocations: 79.97 kB / 3.85 GB, free: 68.79 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/8.777, allocations: 68.38 kB / 3.85 GB, free: 68.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/8.777, allocations: 24 kB / 3.85 GB, free: 68.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001645/8.779, allocations: 1.166 MB / 3.851 GB, free: 67.54 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/8.779, allocations: 0 / 3.851 GB, free: 67.54 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002541/8.781, allocations: 0.7297 MB / 3.852 GB, free: 66.8 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) * 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.00599/8.787, allocations: 4.992 MB / 3.857 GB, free: 61.75 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00208/8.789, allocations: 1.19 MB / 3.858 GB, free: 60.56 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/8.789, allocations: 4.188 kB / 3.858 GB, free: 60.55 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000572/8.79, allocations: 438.9 kB / 3.858 GB, free: 60.12 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/8.793, allocations: 0.5789 MB / 3.859 GB, free: 59.55 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/8.799, allocations: 2.237 MB / 3.861 GB, free: 57.23 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/8.8, allocations: 1.232 MB / 3.862 GB, free: 55.97 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002358/8.802, allocations: 0.5151 MB / 3.863 GB, free: 55.45 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/8.803, allocations: 0.5266 MB / 3.863 GB, free: 54.93 MB / 1.151 GB Notification: Performance of SimCode: time 1.473e-06/8.803, allocations: 3.938 kB / 3.863 GB, free: 54.92 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.107/9.91, allocations: 71.22 MB / 3.933 GB, free: 249.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/9.91, allocations: 231.9 kB / 3.933 GB, free: 248.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.987/15.9, allocations: 3.562 kB / 3.933 GB, free: 248.9 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