Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.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.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller",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.21/2.21, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001247/0.001247, allocations: 188.8 kB / 487.4 MB, free: 5.059 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.69/1.69, allocations: 221.5 MB / 0.7824 GB, free: 1.027 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.0009621/0.0009621, allocations: 107.8 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.057e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.2999, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/1.575, allocations: 476.6 MB / 1.671 GB, free: 10.61 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.576, allocations: 112.5 kB / 1.672 GB, free: 10.55 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 11.13/12.71, allocations: 2.58 GB / 4.252 GB, free: 99.31 MB / 1.245 GB Notification: Performance of FrontEnd: time 3.146e-06/12.71, allocations: 0 / 4.252 GB, free: 99.31 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001372/12.71, allocations: 174 kB / 4.252 GB, free: 99.28 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.02197/12.73, allocations: 5.748 MB / 4.257 GB, free: 96.56 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/12.73, allocations: 10.5 kB / 4.257 GB, free: 96.56 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/12.74, allocations: 1.516 MB / 4.259 GB, free: 96.18 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03747/12.78, allocations: 14.57 MB / 4.273 GB, free: 94.9 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005383/12.78, allocations: 232.9 kB / 4.273 GB, free: 94.83 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001773/12.78, allocations: 242.6 kB / 4.274 GB, free: 94.83 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008633/12.79, allocations: 3.259 MB / 4.277 GB, free: 94.82 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009901/12.8, allocations: 3.766 MB / 4.28 GB, free: 94.35 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.401e-05/12.8, allocations: 11.03 kB / 4.28 GB, free: 94.35 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004299/12.8, allocations: 11.2 kB / 4.28 GB, free: 94.35 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/12.8, allocations: 100.8 kB / 4.281 GB, free: 94.35 MB / 1.245 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.03815/12.84, allocations: 23.32 MB / 4.303 GB, free: 83.25 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/12.84, allocations: 2.375 MB / 4.306 GB, free: 83.02 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/12.84, allocations: 1.348 MB / 4.307 GB, free: 83 MB / 1.245 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 evalFunc (simulation): time 0.01406/12.86, allocations: 8.162 MB / 4.315 GB, free: 79.02 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/12.86, allocations: 1.402 MB / 4.316 GB, free: 78.88 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003814/12.86, allocations: 0.57 MB / 4.317 GB, free: 78.79 MB / 1.245 GB Notification: Performance of pre-optimization done (n=219): time 6.743e-06/12.86, allocations: 0 / 4.317 GB, free: 78.79 MB / 1.245 GB Notification: Performance of matching and sorting (n=219): time 0.008114/12.87, allocations: 3.118 MB / 4.32 GB, free: 78.41 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/12.87, allocations: 184.5 kB / 4.32 GB, free: 78.22 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008344/12.88, allocations: 3.947 MB / 4.324 GB, free: 77.85 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.0009254/12.88, allocations: 34.55 kB / 4.324 GB, free: 77.82 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.002904/12.88, allocations: 2.808 MB / 4.327 GB, free: 77.01 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001184/12.89, allocations: 0.7041 MB / 4.327 GB, free: 76.54 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/12.89, allocations: 3.344 kB / 4.327 GB, free: 76.54 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0001709/12.89, allocations: 412.2 kB / 4.328 GB, free: 76.23 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/12.89, allocations: 1.054 MB / 4.329 GB, free: 76.23 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/12.89, allocations: 2.075 MB / 4.331 GB, free: 75.04 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004309/12.89, allocations: 1.612 MB / 4.332 GB, free: 74.93 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/12.89, allocations: 6 kB / 4.332 GB, free: 74.93 MB / 1.245 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.00961/12.9, allocations: 3.88 MB / 4.336 GB, free: 74.39 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.002822/12.91, allocations: 10.67 MB / 4.347 GB, free: 63.36 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.43e-05/12.91, allocations: 21.03 kB / 4.347 GB, free: 63.36 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003627/12.91, allocations: 130 kB / 4.347 GB, free: 63.34 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/12.91, allocations: 0.7017 MB / 4.348 GB, free: 63.29 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009208/12.91, allocations: 1.249 MB / 4.349 GB, free: 62.23 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006515/12.92, allocations: 378.7 kB / 4.349 GB, free: 62.18 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005992/12.92, allocations: 167.6 kB / 4.349 GB, free: 62.18 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/12.92, allocations: 3.875 kB / 4.349 GB, free: 62.18 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007596/12.93, allocations: 3.201 MB / 4.352 GB, free: 61.95 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.786e-05/12.93, allocations: 26.31 kB / 4.352 GB, free: 61.95 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003334/12.93, allocations: 120.4 kB / 4.353 GB, free: 61.93 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/12.93, allocations: 0.679 MB / 4.353 GB, free: 61.89 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/12.93, allocations: 3.017 MB / 4.356 GB, free: 59.31 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006499/12.94, allocations: 368 kB / 4.356 GB, free: 59.26 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008593/12.94, allocations: 160.8 kB / 4.357 GB, free: 59.26 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,chi.booToRea.u,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,$PRE.THeaWatRet.nextEvent,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,$PRE.TChiWatRet.nextEvent,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (344): * Single equations (assignments): 338 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001712/12.94, allocations: 259.6 kB / 4.357 GB, free: 59.04 MB / 1.245 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01044/12.95, allocations: 3.031 MB / 4.36 GB, free: 58.66 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002193/12.95, allocations: 0.5224 MB / 4.36 GB, free: 58.38 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00998/12.96, allocations: 3.7 MB / 4.364 GB, free: 58.08 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.984e-05/12.96, allocations: 29 kB / 4.364 GB, free: 58.08 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/12.96, allocations: 3.953 kB / 4.364 GB, free: 58.08 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005488/12.97, allocations: 2.708 MB / 4.367 GB, free: 57.34 MB / 1.245 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 postOpt removeSimpleEquations (simulation): time 0.02128/12.99, allocations: 8.311 MB / 4.375 GB, free: 53.58 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/12.99, allocations: 3.062 kB / 4.375 GB, free: 53.58 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/12.99, allocations: 493.1 kB / 4.375 GB, free: 53.54 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001961/12.99, allocations: 87.06 kB / 4.375 GB, free: 53.5 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/12.99, allocations: 54.77 kB / 4.375 GB, free: 53.49 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005818/12.99, allocations: 1.182 MB / 4.377 GB, free: 52.38 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/13, allocations: 3.594 kB / 4.377 GB, free: 52.38 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009539/13, allocations: 5.097 MB / 4.381 GB, free: 49.97 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004374/13.01, allocations: 1.309 MB / 4.383 GB, free: 48.98 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002477/13.01, allocations: 9.438 kB / 4.383 GB, free: 48.98 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005544/13.02, allocations: 355.5 kB / 4.383 GB, free: 48.93 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004082/13.02, allocations: 153.3 kB / 4.383 GB, free: 48.91 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005643/13.02, allocations: 116.7 kB / 4.383 GB, free: 48.89 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.01038/13.03, allocations: 2.941 MB / 4.386 GB, free: 47.64 MB / 1.245 GB Notification: Performance of sort global known variables: time 9.12e-07/13.03, allocations: 4 kB / 4.386 GB, free: 47.63 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.0207/13.05, allocations: 3.056 MB / 4.389 GB, free: 46.96 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.con.conValEva.conPID.I.y,chi.con.conValCon.conPID.I.y,chi.senTConLvg.T,chi.senTConEnt.T,chi.senTEvaEnt.T,chi.senTEvaLvg.T,chi.valEva.vol.dynBal.U,chi.valCon.vol.dynBal.U,senTHeaWatSup.T,senTChiWatSup.T,senTHeaWatRet.T,senTChiWatRet.T) * Number of discrete variables: 16 (chi.booToRea.u,$whenCondition3,$whenCondition1,$whenCondition2,chi.uHea,chi.uCoo,THeaWatRet.a,THeaWatRet.b,THeaWatRet.last,THeaWatRet.nextEvent,THeaWatRet.nextEventScaled,TChiWatRet.a,TChiWatRet.b,TChiWatRet.last,TChiWatRet.nextEvent,TChiWatRet.nextEventScaled) * Number of discrete states: 12 (THeaWatRet.nextEvent,THeaWatRet.last,THeaWatRet.nextEventScaled,THeaWatRet.b,THeaWatRet.a,$whenCondition2,TChiWatRet.nextEvent,TChiWatRet.last,TChiWatRet.nextEventScaled,TChiWatRet.b,TChiWatRet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0164/13.07, allocations: 8.896 MB / 4.398 GB, free: 42.55 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01061/13.08, allocations: 4.915 MB / 4.403 GB, free: 40.3 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/13.08, allocations: 4.594 kB / 4.403 GB, free: 40.3 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/13.08, allocations: 1.447 MB / 4.404 GB, free: 39.64 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01487/13.09, allocations: 2.352 MB / 4.406 GB, free: 39.16 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/13.14, allocations: 11.04 MB / 4.417 GB, free: 33.46 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0035/13.14, allocations: 3.112 MB / 4.42 GB, free: 31.2 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.01147/13.15, allocations: 1.636 MB / 4.422 GB, free: 30.14 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00409/13.15, allocations: 2.531 MB / 4.424 GB, free: 27.82 MB / 1.245 GB Notification: Performance of SimCode: time 3.376e-06/13.15, allocations: 0 / 4.424 GB, free: 27.82 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.4/14.55, allocations: 162.3 MB / 4.583 GB, free: 117.9 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/14.55, allocations: 224.8 kB / 4.583 GB, free: 117.6 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/25.61, allocations: 1.5 kB / 4.583 GB, free: 117.6 MB / 1.276 GB (rm -f Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_EnergyTransferStations_Combined_Subsystems_Validation_Chiller.fmu > Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Experimental.DHC.EnergyTransferStations.Combined.Subsystems.Validation.Chiller_res.mat does not exist to compare? outputFormat=mat