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.38/2.38, allocations: 390.5 MB / 398 MB, free: 10.96 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.001251/0.001251, allocations: 172.9 kB / 491.2 MB, free: 1.594 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.713/1.713, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009587/0.0009583, allocations: 97.95 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.944e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3131, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.173/6.487, allocations: 1.926 GB / 3.138 GB, free: 340.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004036/6.487, allocations: 97.5 kB / 3.138 GB, free: 340.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.306/8.793, allocations: 0.6794 GB / 3.818 GB, free: 101 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.904e-06/8.793, allocations: 0 / 3.818 GB, free: 101 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001478/8.793, allocations: 36 kB / 3.818 GB, free: 100.9 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.004139/8.797, allocations: 1.617 MB / 3.819 GB, free: 99.27 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/8.797, allocations: 16.03 kB / 3.819 GB, free: 99.25 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/8.8, allocations: 333.6 kB / 3.82 GB, free: 98.92 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/8.803, allocations: 1.263 MB / 3.821 GB, free: 97.61 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/8.803, allocations: 20 kB / 3.821 GB, free: 97.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/8.803, allocations: 59.95 kB / 3.821 GB, free: 97.53 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/8.804, allocations: 0.699 MB / 3.822 GB, free: 96.83 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/8.806, allocations: 0.7893 MB / 3.823 GB, free: 96.02 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/8.806, allocations: 4 kB / 3.823 GB, free: 96.02 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.918e-05/8.806, allocations: 0 / 3.823 GB, free: 96.02 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/8.806, allocations: 19.94 kB / 3.823 GB, free: 96 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.004845/8.81, allocations: 3.214 MB / 3.826 GB, free: 92.68 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/8.811, allocations: 0.6175 MB / 3.826 GB, free: 92.05 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/8.812, allocations: 387.8 kB / 3.827 GB, free: 91.67 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/8.813, allocations: 404.9 kB / 3.827 GB, free: 91.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006085/8.813, allocations: 457.8 kB / 3.827 GB, free: 90.75 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001092/8.814, allocations: 215.5 kB / 3.828 GB, free: 90.54 MB / 1.151 GB Notification: Performance of pre-optimization done (n=65): time 4.678e-06/8.814, allocations: 0 / 3.828 GB, free: 90.54 MB / 1.151 GB Notification: Performance of matching and sorting (n=65): time 0.001833/8.816, allocations: 0.8995 MB / 3.829 GB, free: 89.62 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/8.816, allocations: 115.3 kB / 3.829 GB, free: 89.49 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/8.818, allocations: 1.307 MB / 3.83 GB, free: 88.16 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.339e-05/8.818, allocations: 29.7 kB / 3.83 GB, free: 88.13 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/8.818, allocations: 0.6056 MB / 3.831 GB, free: 87.51 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/8.819, allocations: 201 kB / 3.831 GB, free: 87.31 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.085e-05/8.819, allocations: 3.938 kB / 3.831 GB, free: 87.31 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/8.819, allocations: 330 kB / 3.831 GB, free: 86.98 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/8.819, allocations: 297.4 kB / 3.831 GB, free: 86.69 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/8.82, allocations: 0.5774 MB / 3.832 GB, free: 86 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/8.82, allocations: 380 kB / 3.832 GB, free: 85.62 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/8.82, allocations: 8 kB / 3.832 GB, free: 85.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001376/8.822, allocations: 0.8993 MB / 3.833 GB, free: 84.71 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002182/8.822, allocations: 0.8176 MB / 3.834 GB, free: 83.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/8.822, allocations: 4 kB / 3.834 GB, free: 83.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/8.822, allocations: 4 kB / 3.834 GB, free: 83.84 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/8.823, allocations: 155.8 kB / 3.834 GB, free: 83.69 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/8.823, allocations: 4 kB / 3.834 GB, free: 83.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/8.824, allocations: 119.8 kB / 3.834 GB, free: 83.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/8.824, allocations: 39.97 kB / 3.834 GB, free: 83.53 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/8.824, allocations: 4 kB / 3.834 GB, free: 83.52 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/8.826, allocations: 0.7274 MB / 3.835 GB, free: 82.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/8.826, allocations: 4 kB / 3.835 GB, free: 82.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/8.826, allocations: 4 kB / 3.835 GB, free: 82.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/8.826, allocations: 155.8 kB / 3.835 GB, free: 82.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/8.826, allocations: 11.89 kB / 3.835 GB, free: 82.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/8.828, allocations: 108.1 kB / 3.835 GB, free: 82.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.641e-05/8.828, allocations: 43.97 kB / 3.835 GB, free: 82.48 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.0002921/8.828, allocations: 142 kB / 3.835 GB, free: 82.33 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001364/8.829, allocations: 0.8448 MB / 3.836 GB, free: 81.48 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/8.83, allocations: 138.3 kB / 3.836 GB, free: 81.34 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/8.832, allocations: 0.9665 MB / 3.837 GB, free: 80.38 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/8.832, allocations: 8 kB / 3.837 GB, free: 80.37 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/8.832, allocations: 0 / 3.837 GB, free: 80.37 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/8.832, allocations: 11.92 kB / 3.837 GB, free: 80.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/8.835, allocations: 2.35 MB / 3.84 GB, free: 77.92 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/8.835, allocations: 8 kB / 3.84 GB, free: 77.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/8.836, allocations: 135.8 kB / 3.84 GB, free: 77.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/8.836, allocations: 8 kB / 3.84 GB, free: 77.77 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/8.836, allocations: 12.36 kB / 3.84 GB, free: 77.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/8.836, allocations: 8 kB / 3.84 GB, free: 77.75 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/8.836, allocations: 11.92 kB / 3.84 GB, free: 77.74 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/8.838, allocations: 1.634 MB / 3.841 GB, free: 75.95 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005861/8.838, allocations: 379.1 kB / 3.842 GB, free: 75.56 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/8.839, allocations: 7.984 kB / 3.842 GB, free: 75.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/8.84, allocations: 63.92 kB / 3.842 GB, free: 75.49 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/8.84, allocations: 60.44 kB / 3.842 GB, free: 75.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-05/8.84, allocations: 27.98 kB / 3.842 GB, free: 75.41 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001307/8.841, allocations: 0.9952 MB / 3.843 GB, free: 74.41 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.01e-07/8.841, allocations: 0 / 3.843 GB, free: 74.41 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002192/8.843, allocations: 0.6667 MB / 3.844 GB, free: 73.74 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.005867/8.849, allocations: 5.134 MB / 3.849 GB, free: 68.52 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00189/8.851, allocations: 1.134 MB / 3.85 GB, free: 67.38 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/8.851, allocations: 0 / 3.85 GB, free: 67.38 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/8.852, allocations: 419 kB / 3.85 GB, free: 66.97 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/8.855, allocations: 481.5 kB / 3.851 GB, free: 66.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/8.861, allocations: 2.165 MB / 3.853 GB, free: 64.25 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/8.862, allocations: 1.227 MB / 3.854 GB, free: 62.99 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003007/8.865, allocations: 481.5 kB / 3.854 GB, free: 62.52 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/8.865, allocations: 0.5266 MB / 3.855 GB, free: 61.99 MB / 1.151 GB Notification: Performance of SimCode: time 1.633e-06/8.865, allocations: 0 / 3.855 GB, free: 61.99 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1063/8.972, allocations: 48.03 MB / 3.902 GB, free: 14.26 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/8.972, allocations: 216.8 kB / 3.902 GB, free: 13.97 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.146/13.12, allocations: 7.938 kB / 3.902 GB, free: 13.96 MB / 1.151 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