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.384/2.384, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.00118/0.001179, allocations: 169 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.001288/0.001288, allocations: 91.56 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.886e-05/4.903e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3362, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.47/6.806, allocations: 1.927 GB / 3.145 GB, free: 387.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/6.807, allocations: 103.4 kB / 3.145 GB, free: 387.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.355/9.162, allocations: 0.6872 GB / 3.833 GB, free: 133.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.533e-06/9.162, allocations: 0 / 3.833 GB, free: 133.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003307/9.162, allocations: 39.98 kB / 3.833 GB, free: 133.7 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.00615/9.168, allocations: 1.617 MB / 3.834 GB, free: 132 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/9.168, allocations: 8.031 kB / 3.834 GB, free: 132 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003849/9.169, allocations: 122.4 kB / 3.834 GB, free: 131.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003333/9.172, allocations: 329.7 kB / 3.835 GB, free: 131.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/9.176, allocations: 1.26 MB / 3.836 GB, free: 130.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/9.176, allocations: 62 kB / 3.836 GB, free: 130.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/9.176, allocations: 84 kB / 3.836 GB, free: 130.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/9.177, allocations: 0.883 MB / 3.837 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/9.178, allocations: 0 / 3.837 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.422e-05/9.178, allocations: 32 kB / 3.837 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/9.178, allocations: 20 kB / 3.837 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/9.179, allocations: 0.7263 MB / 3.838 GB, free: 128.4 MB / 1.167 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.005884/9.185, allocations: 3.398 MB / 3.841 GB, free: 124.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/9.186, allocations: 0.6404 MB / 3.842 GB, free: 124.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/9.186, allocations: 394.4 kB / 3.842 GB, free: 123.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000566/9.187, allocations: 408.9 kB / 3.842 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006125/9.188, allocations: 466.9 kB / 3.843 GB, free: 122.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001147/9.189, allocations: 255.2 kB / 3.843 GB, free: 122.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=65): time 3.647e-06/9.189, allocations: 0 / 3.843 GB, free: 122.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=65): time 0.001627/9.19, allocations: 0.911 MB / 3.844 GB, free: 121.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/9.19, allocations: 119.3 kB / 3.844 GB, free: 121.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/9.193, allocations: 1.489 MB / 3.846 GB, free: 120.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-05/9.193, allocations: 45.7 kB / 3.846 GB, free: 120.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/9.193, allocations: 0.5961 MB / 3.846 GB, free: 119.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/9.193, allocations: 216.9 kB / 3.846 GB, free: 119.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/9.193, allocations: 12 kB / 3.846 GB, free: 119.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000148/9.194, allocations: 326 kB / 3.847 GB, free: 118.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/9.194, allocations: 309.5 kB / 3.847 GB, free: 118.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007759/9.195, allocations: 0.5982 MB / 3.848 GB, free: 117.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/9.195, allocations: 373.1 kB / 3.848 GB, free: 117.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/9.195, allocations: 0 / 3.848 GB, free: 117.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001593/9.197, allocations: 0.9266 MB / 3.849 GB, free: 116.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004374/9.197, allocations: 0.821 MB / 3.85 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/9.197, allocations: 0 / 3.85 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.364e-05/9.198, allocations: 12 kB / 3.85 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/9.198, allocations: 159.7 kB / 3.85 GB, free: 115.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/9.198, allocations: 7.938 kB / 3.85 GB, free: 115.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/9.2, allocations: 135.7 kB / 3.85 GB, free: 115.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/9.2, allocations: 51.89 kB / 3.85 GB, free: 115.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/9.2, allocations: 9.391 kB / 3.85 GB, free: 115.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/9.202, allocations: 0.7509 MB / 3.851 GB, free: 114.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/9.202, allocations: 4 kB / 3.851 GB, free: 114.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/9.202, allocations: 4.25 kB / 3.851 GB, free: 114.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/9.202, allocations: 163.7 kB / 3.851 GB, free: 114.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/9.202, allocations: 4 kB / 3.851 GB, free: 114.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/9.204, allocations: 127.8 kB / 3.851 GB, free: 114.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/9.204, allocations: 47.95 kB / 3.851 GB, free: 114.2 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 () * 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.0002608/9.204, allocations: 162.8 kB / 3.851 GB, free: 114.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/9.204, allocations: 142.2 kB / 3.851 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/9.206, allocations: 1.007 MB / 3.852 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/9.207, allocations: 8 kB / 3.852 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/9.207, allocations: 3.953 kB / 3.852 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/9.207, allocations: 3.984 kB / 3.852 GB, free: 112.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/9.211, allocations: 2.483 MB / 3.855 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/9.211, allocations: 4.375 kB / 3.855 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/9.211, allocations: 135.8 kB / 3.855 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/9.211, allocations: 8 kB / 3.855 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/9.211, allocations: 23.98 kB / 3.855 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/9.211, allocations: 7.938 kB / 3.855 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/9.211, allocations: 4 kB / 3.855 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/9.213, allocations: 1.695 MB / 3.857 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/9.214, allocations: 383 kB / 3.857 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/9.214, allocations: 24 kB / 3.857 GB, free: 107.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/9.216, allocations: 79.83 kB / 3.857 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/9.216, allocations: 68.38 kB / 3.857 GB, free: 107.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/9.216, allocations: 31.98 kB / 3.857 GB, free: 107.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001965/9.218, allocations: 1.162 MB / 3.858 GB, free: 106.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/9.218, allocations: 4 kB / 3.858 GB, free: 106.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002798/9.221, allocations: 0.7219 MB / 3.859 GB, free: 105.8 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) * 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.005903/9.227, allocations: 4.991 MB / 3.864 GB, free: 100.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002008/9.229, allocations: 1.189 MB / 3.865 GB, free: 99.57 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/9.229, allocations: 7.875 kB / 3.865 GB, free: 99.56 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006055/9.229, allocations: 432.6 kB / 3.866 GB, free: 99.14 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/9.233, allocations: 0.5844 MB / 3.866 GB, free: 98.56 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/9.239, allocations: 2.237 MB / 3.868 GB, free: 96.24 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/9.24, allocations: 1.232 MB / 3.869 GB, free: 94.98 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002735/9.243, allocations: 0.5229 MB / 3.87 GB, free: 94.45 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006791/9.244, allocations: 0.5227 MB / 3.87 GB, free: 93.93 MB / 1.167 GB Notification: Performance of SimCode: time 1.282e-06/9.244, allocations: 4 kB / 3.87 GB, free: 93.92 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/9.354, allocations: 71.23 MB / 3.94 GB, free: 23.12 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/9.354, allocations: 232.8 kB / 3.94 GB, free: 22.81 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.906/14.26, allocations: 4 kB / 3.94 GB, free: 22.8 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