Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",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.342/2.342, 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.001022/0.001022, allocations: 175.8 kB / 491.2 MB, free: 1.602 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.597/1.597, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.000959, allocations: 99.77 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.003e-05/1.991e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3586, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.47/1.829, allocations: 472 MB / 1.673 GB, free: 7.586 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/1.829, allocations: 100.6 kB / 1.673 GB, free: 7.531 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.208/7.038, allocations: 1.277 GB / 2.951 GB, free: 121.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.353e-06/7.038, allocations: 1.219 kB / 2.951 GB, free: 121.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003742/7.038, allocations: 73.17 kB / 2.951 GB, free: 121.2 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: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.007373/7.046, allocations: 2.799 MB / 2.953 GB, free: 118.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/7.046, allocations: 8.031 kB / 2.953 GB, free: 118.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/7.048, allocations: 0.5294 MB / 2.954 GB, free: 117.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006535/7.055, allocations: 3.178 MB / 2.957 GB, free: 114.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006662/7.055, allocations: 198 kB / 2.957 GB, free: 114.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003242/7.056, allocations: 100 kB / 2.957 GB, free: 114.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002924/7.059, allocations: 1.509 MB / 2.959 GB, free: 112.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/7.062, allocations: 1.63 MB / 2.96 GB, free: 111.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.551e-05/7.062, allocations: 3.938 kB / 2.96 GB, free: 111.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/7.062, allocations: 6.938 kB / 2.96 GB, free: 111.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/7.062, allocations: 39.28 kB / 2.96 GB, free: 111.1 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.01918/7.081, allocations: 10.53 MB / 2.971 GB, free: 99.98 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/7.083, allocations: 1.284 MB / 2.972 GB, free: 98.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/7.083, allocations: 0.5682 MB / 2.973 GB, free: 98.03 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/7.084, allocations: 1.23 MB / 2.974 GB, free: 96.55 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000897/7.085, allocations: 0.6302 MB / 2.974 GB, free: 95.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001696/7.087, allocations: 135.8 kB / 2.974 GB, free: 95.77 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 4.228e-06/7.087, allocations: 3.938 kB / 2.974 GB, free: 95.77 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.003203/7.09, allocations: 1.348 MB / 2.976 GB, free: 94.41 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/7.09, allocations: 145.3 kB / 2.976 GB, free: 94.23 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/7.093, allocations: 1.867 MB / 2.978 GB, free: 92.36 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002137/7.094, allocations: 25.7 kB / 2.978 GB, free: 92.33 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/7.095, allocations: 1.152 MB / 2.979 GB, free: 91.16 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/7.095, allocations: 315.3 kB / 2.979 GB, free: 90.85 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/7.095, allocations: 0 / 2.979 GB, free: 90.85 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001094/7.095, allocations: 357.9 kB / 2.98 GB, free: 90.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007673/7.096, allocations: 0.5454 MB / 2.98 GB, free: 89.95 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/7.097, allocations: 0.9291 MB / 2.981 GB, free: 88.88 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/7.098, allocations: 0.7423 MB / 2.982 GB, free: 88.14 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/7.098, allocations: 4 kB / 2.982 GB, free: 88.13 MB / 1.167 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.00358/7.102, allocations: 1.825 MB / 2.983 GB, free: 86.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006954/7.103, allocations: 2.833 MB / 2.986 GB, free: 83.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/7.103, allocations: 11.95 kB / 2.986 GB, free: 83.19 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/7.103, allocations: 56.78 kB / 2.986 GB, free: 83.13 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/7.104, allocations: 331.5 kB / 2.987 GB, free: 82.81 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004101/7.105, allocations: 0.6223 MB / 2.987 GB, free: 82.17 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/7.107, allocations: 207.7 kB / 2.987 GB, free: 81.96 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/7.108, allocations: 71.95 kB / 2.988 GB, free: 81.89 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/7.108, allocations: 4 kB / 2.988 GB, free: 81.89 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00295/7.111, allocations: 1.543 MB / 2.989 GB, free: 80.34 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/7.111, allocations: 4 kB / 2.989 GB, free: 80.34 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/7.111, allocations: 60.83 kB / 2.989 GB, free: 80.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/7.112, allocations: 337.7 kB / 2.989 GB, free: 79.95 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/7.113, allocations: 1.515 MB / 2.991 GB, free: 78.32 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002671/7.116, allocations: 195.7 kB / 2.991 GB, free: 78.13 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/7.116, allocations: 75.95 kB / 2.991 GB, free: 78.05 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004638/7.117, allocations: 176.3 kB / 2.991 GB, free: 77.88 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002991/7.12, allocations: 1.322 MB / 2.993 GB, free: 76.54 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/7.12, allocations: 237 kB / 2.993 GB, free: 76.31 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00344/7.123, allocations: 1.644 MB / 2.994 GB, free: 74.67 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/7.123, allocations: 12 kB / 2.994 GB, free: 74.66 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/7.123, allocations: 2.562 kB / 2.994 GB, free: 74.66 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002085/7.126, allocations: 1.378 MB / 2.996 GB, free: 73.24 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/7.133, allocations: 4.05 MB / 3 GB, free: 69.09 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/7.133, allocations: 4 kB / 3 GB, free: 69.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009793/7.134, allocations: 224 kB / 3 GB, free: 68.87 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/7.134, allocations: 32.84 kB / 3 GB, free: 68.84 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.381e-05/7.134, allocations: 23.98 kB / 3 GB, free: 68.81 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000303/7.135, allocations: 0.5679 MB / 3.001 GB, free: 68.22 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/7.135, allocations: 11.92 kB / 3.001 GB, free: 68.21 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/7.139, allocations: 2.521 MB / 3.003 GB, free: 65.58 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/7.14, allocations: 0.5603 MB / 3.004 GB, free: 65 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/7.141, allocations: 8 kB / 3.004 GB, free: 64.99 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/7.142, allocations: 171.7 kB / 3.004 GB, free: 64.82 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/7.142, allocations: 81.09 kB / 3.004 GB, free: 64.75 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/7.143, allocations: 54.78 kB / 3.004 GB, free: 64.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002275/7.145, allocations: 1.398 MB / 3.005 GB, free: 63.29 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.12e-07/7.145, allocations: 0 / 3.005 GB, free: 63.29 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004377/7.149, allocations: 1.224 MB / 3.006 GB, free: 62.06 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.con.I.y,TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006051/7.155, allocations: 4.68 MB / 3.011 GB, free: 57.43 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003658/7.159, allocations: 2.418 MB / 3.013 GB, free: 54.98 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/7.159, allocations: 4 kB / 3.013 GB, free: 54.98 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008359/7.16, allocations: 0.6837 MB / 3.014 GB, free: 54.29 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006112/7.166, allocations: 1.057 MB / 3.015 GB, free: 53.29 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/7.176, allocations: 4.002 MB / 3.019 GB, free: 49.21 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/7.177, allocations: 1.761 MB / 3.021 GB, free: 47.41 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003502/7.181, allocations: 0.7635 MB / 3.021 GB, free: 46.71 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/7.182, allocations: 0.9912 MB / 3.022 GB, free: 45.72 MB / 1.167 GB Notification: Performance of SimCode: time 1.132e-06/7.182, allocations: 0 / 3.022 GB, free: 45.72 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/7.307, allocations: 69.84 MB / 3.091 GB, free: 8.855 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/7.308, allocations: 229.4 kB / 3.091 GB, free: 8.562 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.082/12.39, allocations: 7.969 kB / 3.091 GB, free: 8.555 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.fmu > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat does not exist to compare? outputFormat=mat