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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 99.86 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.001524/0.001524, 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.581/2.581, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.085/5.085, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006508/0.0006512, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75/1.751, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.AirsideEconomizer): time 0.3754/2.126, allocations: 163.5 MB / 1.141 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02154/2.148, allocations: 5.439 MB / 1.146 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004711/2.153, allocations: 35.75 kB / 1.146 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005204/2.158, allocations: 0.6494 MB / 1.147 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01333/2.171, allocations: 1.709 MB / 1.148 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008903/2.18, allocations: 1.335 MB / 1.15 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008901/2.189, allocations: 1.655 MB / 1.151 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005125/2.194, allocations: 1.104 MB / 1.152 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006309/2.201, allocations: 1.121 MB / 1.153 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/2.204, allocations: 0.7976 MB / 1.154 GB, free: 4.473 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008636/2.205, allocations: 71.98 kB / 1.154 GB, free: 4.402 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00538/2.211, allocations: 0.7879 MB / 1.155 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/2.212, allocations: 390.7 kB / 1.155 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/2.214, allocations: 288.9 kB / 1.156 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005698/2.219, allocations: 1.839 MB / 1.157 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/2.22, allocations: 0 / 1.157 GB, free: 1.098 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.094e-06/2.22, allocations: 7.938 kB / 1.157 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000115/2.22, allocations: 0 / 1.157 GB, free: 1.09 MB / 0.9044 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.01008/2.23, allocations: 1.838 MB / 1.159 GB, free: 15.2 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 9.766e-05/2.23, allocations: 12.03 kB / 1.159 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006701/2.231, allocations: 114.5 kB / 1.159 GB, free: 15.06 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/2.234, allocations: 285.8 kB / 1.16 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006434/2.24, allocations: 1.244 MB / 1.161 GB, free: 13.49 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/2.241, allocations: 77.94 kB / 1.161 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005279/2.241, allocations: 80 kB / 1.161 GB, free: 13.33 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/2.244, allocations: 0.8742 MB / 1.162 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/2.244, allocations: 0 / 1.162 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/2.245, allocations: 28 kB / 1.162 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/2.245, allocations: 20 kB / 1.162 GB, free: 12.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/2.247, allocations: 0.7339 MB / 1.163 GB, free: 11.66 MB / 0.92 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.01222/2.259, allocations: 3.262 MB / 1.166 GB, free: 8.277 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/2.262, allocations: 0.7153 MB / 1.166 GB, free: 7.555 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008022/2.263, allocations: 153.6 kB / 1.167 GB, free: 7.387 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/2.265, allocations: 493.7 kB / 1.167 GB, free: 6.891 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002511/2.267, allocations: 207.2 kB / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of pre-optimization done (n=65): time 3.581e-05/2.267, allocations: 3.984 kB / 1.167 GB, free: 6.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=65): time 0.009685/2.277, allocations: 1.223 MB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/2.277, allocations: 85.67 kB / 1.169 GB, free: 5.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008327/2.286, allocations: 1.712 MB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0007058/2.286, allocations: 41.7 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/2.288, allocations: 0.5969 MB / 1.171 GB, free: 2.98 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006778/2.289, allocations: 220.8 kB / 1.171 GB, free: 2.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/2.289, allocations: 15.94 kB / 1.171 GB, free: 2.746 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002591/2.289, allocations: 341.8 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/2.29, allocations: 301.1 kB / 1.172 GB, free: 2.113 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/2.293, allocations: 0.5923 MB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/2.294, allocations: 374 kB / 1.173 GB, free: 1.039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/2.294, allocations: 0 / 1.173 GB, free: 1.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003893/2.298, allocations: 0.9499 MB / 1.174 GB, free: 80 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008355/2.299, allocations: 1.178 MB / 1.175 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/2.299, allocations: 4 kB / 1.175 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.699e-05/2.299, allocations: 4 kB / 1.175 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/2.3, allocations: 156.1 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.119e-05/2.3, allocations: 11.89 kB / 1.175 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/2.303, allocations: 141.2 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/2.303, allocations: 35.97 kB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/2.303, allocations: 4 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002334/2.305, allocations: 0.7862 MB / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/2.305, allocations: 0 / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/2.305, allocations: 8 kB / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009846/2.306, allocations: 155.7 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/2.306, allocations: 4 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/2.309, allocations: 131.3 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/2.31, allocations: 39.97 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,$PRE.outAir.nextTimeEvent,outAir.nextTimeEvent,$PRE.outAir.nextTimeEventScaled,outAir.nextTimeEventScaled,con.conInt.y,con.cooMod,con.ecoOff.y,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.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 (80): * Single equations (assignments): 80 * 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.001386/2.311, allocations: 404.9 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007971/2.312, allocations: 146.1 kB / 1.177 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/2.315, allocations: 0.9428 MB / 1.178 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/2.315, allocations: 8 kB / 1.178 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/2.315, allocations: 0 / 1.178 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/2.315, allocations: 3.984 kB / 1.178 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/2.321, allocations: 2.378 MB / 1.18 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/2.321, allocations: 4 kB / 1.18 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/2.322, allocations: 124.2 kB / 1.18 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.621e-05/2.322, allocations: 8 kB / 1.18 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/2.322, allocations: 27.94 kB / 1.18 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/2.322, allocations: 4 kB / 1.18 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/2.323, allocations: 7.938 kB / 1.18 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00456/2.327, allocations: 1.705 MB / 1.182 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/2.329, allocations: 351 kB / 1.182 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/2.329, allocations: 20.06 kB / 1.182 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/2.331, allocations: 67.89 kB / 1.182 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/2.331, allocations: 60.44 kB / 1.182 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.179e-05/2.331, allocations: 27.94 kB / 1.182 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003235/2.334, allocations: 1.221 MB / 1.183 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.81e-07/2.334, allocations: 0 / 1.183 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003632/2.338, allocations: 0.5187 MB / 1.184 GB, free: 5.031 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (con.con.I.y,senTemMixAir.T) * Number of discrete variables: 8 ($whenCondition2,outAir.nextTimeEvent,outAir.nextTimeEventScaled,$whenCondition1,con.cooMod,con.ecoOff.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of discrete states: 4 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,outAir.nextTimeEventScaled,outAir.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 70 * 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.007412/2.345, allocations: 3.622 MB / 1.187 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003627/2.349, allocations: 1.167 MB / 1.189 GB, free: 304 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/2.349, allocations: 0 / 1.189 GB, free: 304 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/2.35, allocations: 444.1 kB / 1.189 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005407/2.356, allocations: 0.5787 MB / 1.19 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03466/2.391, allocations: 10.94 MB / 1.2 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/2.392, allocations: 1.217 MB / 1.201 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002926/2.395, allocations: 350.3 kB / 1.202 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/2.397, allocations: 0.5422 MB / 1.202 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of SimCode: time 3.176e-06/2.397, allocations: 3.938 kB / 1.202 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/2.522, allocations: 37.41 MB / 1.239 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008884/2.523, allocations: 272.2 kB / 1.239 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.728/8.251, allocations: 4 kB / 1.239 GB, free: 12.57 MB / 0.9981 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) Environment - environmentSimulation: 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