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.368/2.368, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001025/0.001025, allocations: 184.8 kB / 487.4 MB, free: 5.023 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.638/1.638, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001107, allocations: 95.86 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.17e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3345, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.175/6.509, allocations: 1.925 GB / 3.131 GB, free: 425.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/6.51, allocations: 95.94 kB / 3.131 GB, free: 425.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.295/8.804, allocations: 0.6794 GB / 3.811 GB, free: 167.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.745e-06/8.804, allocations: 3.938 kB / 3.811 GB, free: 167.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001595/8.805, allocations: 35.28 kB / 3.811 GB, free: 167.2 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.00389/8.808, allocations: 1.624 MB / 3.812 GB, free: 165.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/8.809, allocations: 12.02 kB / 3.812 GB, free: 165.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/8.811, allocations: 337.6 kB / 3.813 GB, free: 165.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002319/8.814, allocations: 1.262 MB / 3.814 GB, free: 163.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/8.814, allocations: 28 kB / 3.814 GB, free: 163.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/8.814, allocations: 52 kB / 3.814 GB, free: 163.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00116/8.815, allocations: 0.6951 MB / 3.815 GB, free: 163.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/8.816, allocations: 0.7893 MB / 3.815 GB, free: 162.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/8.816, allocations: 0 / 3.815 GB, free: 162.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/8.816, allocations: 3.953 kB / 3.815 GB, free: 162.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/8.816, allocations: 20 kB / 3.815 GB, free: 162.3 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.00439/8.821, allocations: 3.216 MB / 3.819 GB, free: 159 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009574/8.822, allocations: 0.6252 MB / 3.819 GB, free: 158.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/8.822, allocations: 378.3 kB / 3.82 GB, free: 158 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/8.823, allocations: 408.5 kB / 3.82 GB, free: 157.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005806/8.823, allocations: 449.8 kB / 3.82 GB, free: 157.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009109/8.824, allocations: 222.2 kB / 3.821 GB, free: 156.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 2.796e-06/8.824, allocations: 0 / 3.821 GB, free: 156.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.001703/8.826, allocations: 0.8995 MB / 3.821 GB, free: 156 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/8.826, allocations: 115.4 kB / 3.822 GB, free: 155.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/8.827, allocations: 1.299 MB / 3.823 GB, free: 154.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/8.828, allocations: 25.7 kB / 3.823 GB, free: 154.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/8.828, allocations: 0.6064 MB / 3.823 GB, free: 153.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/8.828, allocations: 209 kB / 3.824 GB, free: 153.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.281e-05/8.828, allocations: 0 / 3.824 GB, free: 153.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/8.828, allocations: 329.9 kB / 3.824 GB, free: 153.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/8.829, allocations: 293.5 kB / 3.824 GB, free: 153.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/8.829, allocations: 0.5852 MB / 3.825 GB, free: 152.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/8.83, allocations: 387.9 kB / 3.825 GB, free: 152 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/8.83, allocations: 0 / 3.825 GB, free: 152 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001313/8.831, allocations: 0.8955 MB / 3.826 GB, free: 151.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/8.831, allocations: 0.8158 MB / 3.827 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/8.831, allocations: 7.891 kB / 3.827 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/8.831, allocations: 8 kB / 3.827 GB, free: 150.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/8.832, allocations: 151.8 kB / 3.827 GB, free: 150.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/8.832, allocations: 15.94 kB / 3.827 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/8.833, allocations: 115.7 kB / 3.827 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/8.834, allocations: 43.97 kB / 3.827 GB, free: 149.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/8.834, allocations: 8 kB / 3.827 GB, free: 149.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/8.835, allocations: 0.7197 MB / 3.828 GB, free: 149.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/8.835, allocations: 0 / 3.828 GB, free: 149.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/8.835, allocations: 8 kB / 3.828 GB, free: 149.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/8.835, allocations: 155.8 kB / 3.828 GB, free: 149 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/8.835, allocations: 8.188 kB / 3.828 GB, free: 149 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/8.837, allocations: 111.9 kB / 3.828 GB, free: 148.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/8.837, allocations: 39.97 kB / 3.828 GB, free: 148.9 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.0002206/8.837, allocations: 136.8 kB / 3.828 GB, free: 148.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001249/8.838, allocations: 0.8487 MB / 3.829 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/8.838, allocations: 134.3 kB / 3.829 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/8.84, allocations: 0.9627 MB / 3.83 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/8.84, allocations: 15.94 kB / 3.83 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/8.84, allocations: 0 / 3.83 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/8.84, allocations: 7.922 kB / 3.83 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/8.843, allocations: 2.355 MB / 3.833 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/8.843, allocations: 4 kB / 3.833 GB, free: 144.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/8.844, allocations: 136.2 kB / 3.833 GB, free: 144.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/8.844, allocations: 12 kB / 3.833 GB, free: 144.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/8.844, allocations: 11.98 kB / 3.833 GB, free: 144.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/8.844, allocations: 8 kB / 3.833 GB, free: 144.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/8.844, allocations: 3.938 kB / 3.833 GB, free: 144.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/8.846, allocations: 1.638 MB / 3.834 GB, free: 142.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/8.847, allocations: 371.1 kB / 3.835 GB, free: 142 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/8.847, allocations: 4 kB / 3.835 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/8.848, allocations: 67.92 kB / 3.835 GB, free: 141.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/8.848, allocations: 60.44 kB / 3.835 GB, free: 141.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.59e-05/8.848, allocations: 35.97 kB / 3.835 GB, free: 141.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001255/8.849, allocations: 0.9952 MB / 3.836 GB, free: 140.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.849, allocations: 0 / 3.836 GB, free: 140.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002307/8.852, allocations: 0.6658 MB / 3.836 GB, free: 140.1 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.006236/8.858, allocations: 5.13 MB / 3.841 GB, free: 135.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001983/8.86, allocations: 1.14 MB / 3.843 GB, free: 134 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/8.86, allocations: 0 / 3.843 GB, free: 134 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004984/8.86, allocations: 415.5 kB / 3.843 GB, free: 133.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/8.864, allocations: 498.1 kB / 3.843 GB, free: 133.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/8.869, allocations: 2.152 MB / 3.846 GB, free: 130.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/8.869, allocations: 1.223 MB / 3.847 GB, free: 129.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002094/8.871, allocations: 485.5 kB / 3.847 GB, free: 129.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/8.872, allocations: 0.5188 MB / 3.848 GB, free: 128.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.152e-06/8.872, allocations: 3.938 kB / 3.848 GB, free: 128.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08553/8.958, allocations: 48.02 MB / 3.895 GB, free: 80.86 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/8.958, allocations: 214.9 kB / 3.895 GB, free: 80.57 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.478/13.44, allocations: 0 / 3.895 GB, free: 80.57 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