Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001179/0.001179, allocations: 184.8 kB / 487.4 MB, free: 5.066 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.755/1.755, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009725/0.0009724, allocations: 99.84 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.337e-05, allocations: 7.938 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3547, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.482/1.837, allocations: 471.3 MB / 1.666 GB, free: 15.59 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/1.837, allocations: 106.7 kB / 1.666 GB, free: 15.53 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.347/7.185, allocations: 1.282 GB / 2.949 GB, free: 101.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.344e-06/7.185, allocations: 0 / 2.949 GB, free: 101.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004509/7.185, allocations: 75.78 kB / 2.949 GB, free: 101.7 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: 399 * Number of variables: 399 Notification: Performance of Generate backend data structure: time 0.008783/7.194, allocations: 2.924 MB / 2.952 GB, free: 98.73 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/7.194, allocations: 8.031 kB / 2.952 GB, free: 98.72 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/7.197, allocations: 0.548 MB / 2.952 GB, free: 98.17 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008329/7.206, allocations: 3.316 MB / 2.955 GB, free: 94.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006973/7.206, allocations: 209.3 kB / 2.956 GB, free: 94.65 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/7.207, allocations: 107.9 kB / 2.956 GB, free: 94.55 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003169/7.21, allocations: 1.588 MB / 2.957 GB, free: 92.96 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/7.213, allocations: 1.748 MB / 2.959 GB, free: 91.13 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/7.213, allocations: 0 / 2.959 GB, free: 91.13 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/7.213, allocations: 4 kB / 2.959 GB, free: 91.12 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.139e-05/7.213, allocations: 58.97 kB / 2.959 GB, free: 91.07 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.01638/7.23, allocations: 10.87 MB / 2.97 GB, free: 79.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/7.231, allocations: 1.415 MB / 2.971 GB, free: 78.06 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000781/7.232, allocations: 0.6149 MB / 2.972 GB, free: 77.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/7.233, allocations: 1.24 MB / 2.973 GB, free: 75.95 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009569/7.234, allocations: 0.6867 MB / 2.974 GB, free: 75.25 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001707/7.236, allocations: 142.8 kB / 2.974 GB, free: 75.11 MB / 1.151 GB Notification: Performance of pre-optimization done (n=107): time 4.539e-06/7.236, allocations: 4 kB / 2.974 GB, free: 75.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=107): time 0.00322/7.239, allocations: 1.484 MB / 2.975 GB, free: 73.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/7.239, allocations: 222.9 kB / 2.975 GB, free: 73.34 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/7.242, allocations: 1.95 MB / 2.977 GB, free: 71.38 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/7.242, allocations: 29.7 kB / 2.977 GB, free: 71.35 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009994/7.243, allocations: 1.182 MB / 2.978 GB, free: 70.15 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/7.243, allocations: 350.7 kB / 2.979 GB, free: 69.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/7.243, allocations: 4 kB / 2.979 GB, free: 69.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001029/7.244, allocations: 370.7 kB / 2.979 GB, free: 69.43 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008119/7.244, allocations: 0.6248 MB / 2.98 GB, free: 68.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/7.245, allocations: 1.031 MB / 2.981 GB, free: 67.61 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/7.247, allocations: 0.8326 MB / 2.982 GB, free: 66.78 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/7.247, allocations: 7.953 kB / 2.982 GB, free: 66.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003652/7.251, allocations: 2.018 MB / 2.984 GB, free: 64.75 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006297/7.251, allocations: 2.863 MB / 2.986 GB, free: 61.65 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/7.251, allocations: 8 kB / 2.986 GB, free: 61.64 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/7.252, allocations: 56.8 kB / 2.986 GB, free: 61.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/7.253, allocations: 387.5 kB / 2.987 GB, free: 61.21 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003724/7.254, allocations: 0.6031 MB / 2.987 GB, free: 60.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/7.256, allocations: 223.6 kB / 2.988 GB, free: 60.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/7.256, allocations: 71.97 kB / 2.988 GB, free: 60.29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/7.256, allocations: 4 kB / 2.988 GB, free: 60.29 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003086/7.26, allocations: 1.714 MB / 2.989 GB, free: 58.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/7.26, allocations: 8 kB / 2.989 GB, free: 58.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/7.26, allocations: 65.47 kB / 2.989 GB, free: 58.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/7.261, allocations: 375.5 kB / 2.99 GB, free: 58.13 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/7.262, allocations: 1.529 MB / 2.991 GB, free: 56.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/7.265, allocations: 203.6 kB / 2.991 GB, free: 56.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/7.265, allocations: 71.91 kB / 2.991 GB, free: 56.21 MB / 1.151 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 (169): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0004416/7.266, allocations: 180 kB / 2.992 GB, free: 56.03 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003071/7.269, allocations: 1.443 MB / 2.993 GB, free: 54.57 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/7.269, allocations: 244.9 kB / 2.993 GB, free: 54.33 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/7.273, allocations: 1.77 MB / 2.995 GB, free: 52.57 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/7.273, allocations: 16 kB / 2.995 GB, free: 52.55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/7.273, allocations: 0 / 2.995 GB, free: 52.55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002157/7.275, allocations: 1.472 MB / 2.996 GB, free: 51.04 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007446/7.282, allocations: 4.311 MB / 3.001 GB, free: 46.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/7.282, allocations: 7.984 kB / 3.001 GB, free: 46.63 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/7.283, allocations: 235.9 kB / 3.001 GB, free: 46.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/7.283, allocations: 36.84 kB / 3.001 GB, free: 46.36 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.938e-05/7.284, allocations: 19.98 kB / 3.001 GB, free: 46.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002693/7.284, allocations: 0.5796 MB / 3.002 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/7.284, allocations: 5.188 kB / 3.002 GB, free: 45.73 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003989/7.288, allocations: 2.72 MB / 3.004 GB, free: 42.92 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/7.289, allocations: 0.595 MB / 3.005 GB, free: 42.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/7.29, allocations: 12 kB / 3.005 GB, free: 42.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/7.291, allocations: 171.7 kB / 3.005 GB, free: 42.12 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/7.291, allocations: 85.09 kB / 3.005 GB, free: 42.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/7.291, allocations: 55.95 kB / 3.005 GB, free: 41.99 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002233/7.294, allocations: 1.468 MB / 3.007 GB, free: 40.52 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/7.294, allocations: 0 / 3.007 GB, free: 40.52 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005058/7.299, allocations: 1.313 MB / 3.008 GB, free: 39.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.s[1],WSE.heaExc.thrWayVal.filter.s[2],WSE.heaExc.con.I.y,WSE.filter[1].x[1],WSE.filter[1].x[2],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 (118): * Single equations (assignments): 109 * 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.006959/7.306, allocations: 4.907 MB / 3.013 GB, free: 34.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004115/7.31, allocations: 2.725 MB / 3.015 GB, free: 31.54 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/7.31, allocations: 0 / 3.015 GB, free: 31.54 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000925/7.311, allocations: 0.7464 MB / 3.016 GB, free: 30.78 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006048/7.317, allocations: 1.1 MB / 3.017 GB, free: 29.75 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/7.329, allocations: 4.417 MB / 3.021 GB, free: 25.25 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/7.331, allocations: 1.835 MB / 3.023 GB, free: 23.39 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004928/7.336, allocations: 0.8769 MB / 3.024 GB, free: 22.58 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/7.338, allocations: 1.054 MB / 3.025 GB, free: 21.52 MB / 1.151 GB Notification: Performance of SimCode: time 1.583e-06/7.338, allocations: 0 / 3.025 GB, free: 21.52 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.05/8.388, allocations: 74.02 MB / 3.097 GB, free: 165.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/8.388, allocations: 214.5 kB / 3.098 GB, free: 165.2 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.583/13.97, allocations: 1.688 kB / 3.098 GB, free: 165.2 MB / 1.182 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer_res.mat does not exist to compare? outputFormat=mat