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.407/2.407, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.00129/0.00129, allocations: 176.1 kB / 492.3 MB, free: 0.6055 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.688/1.688, allocations: 221.3 MB / 0.7871 GB, free: 12.85 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.001057/0.001057, allocations: 84.02 kB / 0.9267 GB, free: 13.91 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.959e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3101, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.372/1.682, allocations: 477.3 MB / 1.679 GB, free: 1.82 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/1.682, allocations: 115.5 kB / 1.679 GB, free: 1.75 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 11.7/13.39, allocations: 2.592 GB / 4.271 GB, free: 94.01 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.034e-06/13.39, allocations: 0 / 4.271 GB, free: 94.01 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001902/13.39, allocations: 167.8 kB / 4.271 GB, free: 93.98 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.02703/13.42, allocations: 5.751 MB / 4.277 GB, free: 91.21 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/13.42, allocations: 10.75 kB / 4.277 GB, free: 91.21 MB / 1.245 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003556/13.42, allocations: 498 kB / 4.277 GB, free: 91.16 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/13.43, allocations: 1.521 MB / 4.279 GB, free: 90.78 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04783/13.48, allocations: 14.59 MB / 4.293 GB, free: 89.5 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008549/13.48, allocations: 381.2 kB / 4.293 GB, free: 89.43 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002209/13.48, allocations: 410.9 kB / 4.294 GB, free: 89.42 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/13.49, allocations: 4.3 MB / 4.298 GB, free: 88.94 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/13.49, allocations: 6.125 kB / 4.298 GB, free: 88.94 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000529/13.49, allocations: 161.1 kB / 4.298 GB, free: 88.93 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/13.49, allocations: 95.09 kB / 4.298 GB, free: 88.93 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007779/13.5, allocations: 3.423 MB / 4.302 GB, free: 88.9 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.04904/13.55, allocations: 24.06 MB / 4.325 GB, free: 77.41 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/13.56, allocations: 2.388 MB / 4.327 GB, free: 77.15 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/13.56, allocations: 1.39 MB / 4.329 GB, free: 77.12 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.0191/13.58, allocations: 8.342 MB / 4.337 GB, free: 73.12 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002885/13.58, allocations: 1.477 MB / 4.338 GB, free: 72.98 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005856/13.59, allocations: 0.6599 MB / 4.339 GB, free: 72.81 MB / 1.245 GB Notification: Performance of pre-optimization done (n=219): time 2.804e-05/13.59, allocations: 0 / 4.339 GB, free: 72.81 MB / 1.245 GB Notification: Performance of matching and sorting (n=219): time 0.01157/13.6, allocations: 2.893 MB / 4.342 GB, free: 72.35 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001857/13.6, allocations: 189.7 kB / 4.342 GB, free: 72.15 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02056/13.62, allocations: 4.505 MB / 4.346 GB, free: 71.75 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/13.62, allocations: 86.14 kB / 4.346 GB, free: 71.71 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.006104/13.63, allocations: 2.791 MB / 4.349 GB, free: 70.99 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/13.63, allocations: 0.7448 MB / 4.35 GB, free: 70.44 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008392/13.63, allocations: 49.78 kB / 4.35 GB, free: 70.4 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0003986/13.63, allocations: 420.4 kB / 4.35 GB, free: 70.05 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/13.63, allocations: 1.076 MB / 4.351 GB, free: 69.6 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004101/13.64, allocations: 2.124 MB / 4.353 GB, free: 67.84 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/13.64, allocations: 1.373 MB / 4.355 GB, free: 67.18 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.154e-05/13.64, allocations: 5.531 kB / 4.355 GB, free: 67.18 MB / 1.245 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.01078/13.65, allocations: 3.797 MB / 4.358 GB, free: 65.55 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.003648/13.66, allocations: 10.85 MB / 4.369 GB, free: 53.98 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.412e-05/13.66, allocations: 18.59 kB / 4.369 GB, free: 53.98 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/13.66, allocations: 134 kB / 4.369 GB, free: 53.94 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/13.66, allocations: 0.6982 MB / 4.37 GB, free: 53.87 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009432/13.66, allocations: 1.226 MB / 4.371 GB, free: 52.75 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00778/13.67, allocations: 470.8 kB / 4.372 GB, free: 52.64 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000981/13.67, allocations: 163.2 kB / 4.372 GB, free: 52.61 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/13.67, allocations: 12.66 kB / 4.372 GB, free: 52.61 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006815/13.68, allocations: 3.244 MB / 4.375 GB, free: 51.27 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-05/13.68, allocations: 21.94 kB / 4.375 GB, free: 51.27 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/13.68, allocations: 118.9 kB / 4.375 GB, free: 51.24 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/13.68, allocations: 0.6829 MB / 4.376 GB, free: 51.17 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/13.68, allocations: 3.137 MB / 4.379 GB, free: 48.19 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00808/13.69, allocations: 447.5 kB / 4.379 GB, free: 48.09 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008338/13.69, allocations: 158.3 kB / 4.379 GB, free: 48.06 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.001301/13.69, allocations: 363.8 kB / 4.38 GB, free: 47.75 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002638/13.7, allocations: 0.5537 MB / 4.38 GB, free: 47.46 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008896/13.71, allocations: 3.745 MB / 4.384 GB, free: 45.97 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.007e-05/13.71, allocations: 30.47 kB / 4.384 GB, free: 45.97 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/13.71, allocations: 0 / 4.384 GB, free: 45.97 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004327/13.71, allocations: 2.674 MB / 4.387 GB, free: 44.86 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.02295/13.73, allocations: 8.77 MB / 4.395 GB, free: 40.77 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/13.73, allocations: 4.125 kB / 4.395 GB, free: 40.77 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/13.74, allocations: 498.2 kB / 4.396 GB, free: 40.72 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003257/13.74, allocations: 111 kB / 4.396 GB, free: 40.68 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/13.74, allocations: 73.92 kB / 4.396 GB, free: 40.65 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008345/13.74, allocations: 1.181 MB / 4.397 GB, free: 39.54 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/13.74, allocations: 3.438 kB / 4.397 GB, free: 39.54 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/13.75, allocations: 5.141 MB / 4.402 GB, free: 37.02 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006352/13.75, allocations: 1.348 MB / 4.403 GB, free: 36 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0027/13.76, allocations: 50.44 kB / 4.403 GB, free: 35.97 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006371/13.76, allocations: 386 kB / 4.404 GB, free: 35.9 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/13.76, allocations: 149.1 kB / 4.404 GB, free: 35.88 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004183/13.76, allocations: 121 kB / 4.404 GB, free: 35.85 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.009833/13.77, allocations: 3.437 MB / 4.407 GB, free: 34.49 MB / 1.245 GB Notification: Performance of sort global known variables: time 1.143e-06/13.77, allocations: 0 / 4.407 GB, free: 34.49 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.02376/13.8, allocations: 3.123 MB / 4.41 GB, free: 33.75 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.022/13.82, allocations: 9.036 MB / 4.419 GB, free: 27.59 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01401/13.83, allocations: 5.155 MB / 4.424 GB, free: 22.59 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 2.386e-05/13.83, allocations: 0.5625 kB / 4.424 GB, free: 22.59 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.003112/13.84, allocations: 1.503 MB / 4.426 GB, free: 21.14 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01764/13.86, allocations: 2.623 MB / 4.428 GB, free: 19.26 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05408/13.91, allocations: 11.32 MB / 4.439 GB, free: 9.477 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007501/13.92, allocations: 3.114 MB / 4.442 GB, free: 7.215 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.01313/13.93, allocations: 1.701 MB / 4.444 GB, free: 6.098 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005348/13.94, allocations: 2.528 MB / 4.446 GB, free: 3.777 MB / 1.245 GB Notification: Performance of SimCode: time 1.704e-06/13.94, allocations: 4 kB / 4.446 GB, free: 3.773 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.618/15.55, allocations: 188.3 MB / 4.63 GB, free: 104.1 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/15.55, allocations: 269.3 kB / 4.631 GB, free: 103.7 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/26.97, allocations: 4 kB / 4.631 GB, free: 103.7 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