Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",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.492/2.492, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001233/0.001233, allocations: 173.1 kB / 498.1 MB, free: 5.773 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.682/1.682, allocations: 223.2 MB / 0.7948 GB, free: 18.02 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.0009349/0.0009349, allocations: 100.3 kB / 0.9346 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 8.172 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3325, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.263/8.595, allocations: 3.172 GB / 4.395 GB, free: 188.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/8.596, allocations: 108.6 kB / 4.396 GB, free: 188.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 49.86/58.46, allocations: 10.75 GB / 15.15 GB, free: 89.99 MB / 1.839 GB Notification: Performance of FrontEnd: time 3.276e-06/58.46, allocations: 3 kB / 15.15 GB, free: 89.99 MB / 1.839 GB Notification: Performance of Transformations before backend: time 0.00563/58.47, allocations: 0.5461 MB / 15.15 GB, free: 89.88 MB / 1.839 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.09298/58.56, allocations: 20.44 MB / 15.17 GB, free: 80.95 MB / 1.839 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/58.56, allocations: 13.17 kB / 15.17 GB, free: 80.95 MB / 1.839 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01006/58.57, allocations: 1.577 MB / 15.17 GB, free: 80.83 MB / 1.839 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/58.59, allocations: 2.592 MB / 15.17 GB, free: 79.79 MB / 1.839 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07195/58.66, allocations: 20.37 MB / 15.19 GB, free: 77.38 MB / 1.839 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002775/58.66, allocations: 0.9822 MB / 15.19 GB, free: 77.35 MB / 1.839 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007633/58.67, allocations: 1.312 MB / 15.2 GB, free: 77.35 MB / 1.839 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06083/58.73, allocations: 13.44 MB / 15.21 GB, free: 75.2 MB / 1.839 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001927/58.73, allocations: 40.22 kB / 15.21 GB, free: 75.2 MB / 1.839 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007419/58.74, allocations: 0.511 MB / 15.21 GB, free: 75.2 MB / 1.839 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007816/58.74, allocations: 340.9 kB / 15.21 GB, free: 75.2 MB / 1.839 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03069/58.77, allocations: 9.232 MB / 15.22 GB, free: 75.09 MB / 1.839 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1234/58.9, allocations: 68.66 MB / 15.29 GB, free: 41.38 MB / 1.839 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009432/58.91, allocations: 4.884 MB / 15.29 GB, free: 40.7 MB / 1.839 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0864/58.99, allocations: 51.37 MB / 15.34 GB, free: 35.11 MB / 1.87 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/58.99, allocations: 123.7 kB / 15.34 GB, free: 35.06 MB / 1.87 GB Notification: Performance of pre-optimization done (n=427): time 6.933e-06/58.99, allocations: 1.125 kB / 15.34 GB, free: 35.06 MB / 1.87 GB Notification: Performance of matching and sorting (n=427): time 0.02252/59.01, allocations: 7 MB / 15.35 GB, free: 34.09 MB / 1.87 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004567/59.02, allocations: 0.7962 MB / 15.35 GB, free: 33.17 MB / 1.87 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04511/59.06, allocations: 14.21 MB / 15.36 GB, free: 32.35 MB / 1.87 GB Notification: Performance of collectPreVariables (initialization): time 0.002329/59.06, allocations: 174.6 kB / 15.36 GB, free: 32.32 MB / 1.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.0138/59.08, allocations: 8.751 MB / 15.37 GB, free: 30.05 MB / 1.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.002929/59.08, allocations: 1.495 MB / 15.37 GB, free: 29.1 MB / 1.87 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008232/59.08, allocations: 116.1 kB / 15.37 GB, free: 29.1 MB / 1.87 GB Notification: Performance of setup shared object (initialization): time 0.0004333/59.08, allocations: 0.5203 MB / 15.37 GB, free: 28.79 MB / 1.87 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003738/59.08, allocations: 1.851 MB / 15.38 GB, free: 28.77 MB / 1.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006666/59.09, allocations: 5.491 MB / 15.38 GB, free: 24.43 MB / 1.87 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005825/59.1, allocations: 2.809 MB / 15.38 GB, free: 24.27 MB / 1.87 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.259e-05/59.1, allocations: 19.78 kB / 15.38 GB, free: 24.27 MB / 1.87 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02259/59.12, allocations: 7.479 MB / 15.39 GB, free: 23.3 MB / 1.87 GB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/59.12, allocations: 35.22 kB / 15.39 GB, free: 23.3 MB / 1.87 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/59.12, allocations: 63.53 kB / 15.39 GB, free: 23.3 MB / 1.87 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/59.12, allocations: 106.8 kB / 15.39 GB, free: 23.3 MB / 1.87 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005824/59.13, allocations: 1.335 MB / 15.39 GB, free: 23.29 MB / 1.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001557/59.13, allocations: 136.5 kB / 15.39 GB, free: 23.29 MB / 1.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02235/59.15, allocations: 1.629 MB / 15.39 GB, free: 22.56 MB / 1.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002688/59.15, allocations: 411.2 kB / 15.39 GB, free: 22.56 MB / 1.87 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (730): * Single equations (assignments): 730 * 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.01425/59.17, allocations: 3.415 MB / 15.4 GB, free: 22.39 MB / 1.87 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009236/59.17, allocations: 1.618 MB / 15.4 GB, free: 21.54 MB / 1.87 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02138/59.2, allocations: 7.667 MB / 15.41 GB, free: 21.07 MB / 1.87 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002107/59.2, allocations: 82.88 kB / 15.41 GB, free: 21.07 MB / 1.87 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.533e-05/59.2, allocations: 11.91 kB / 15.41 GB, free: 21.07 MB / 1.87 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005914/59.2, allocations: 3.948 MB / 15.41 GB, free: 19.29 MB / 1.87 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09235/59.29, allocations: 28.46 MB / 15.44 GB, free: 15.14 MB / 1.87 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002279/59.3, allocations: 37.94 kB / 15.44 GB, free: 15.14 MB / 1.87 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00384/59.3, allocations: 0.774 MB / 15.44 GB, free: 15.14 MB / 1.87 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001364/59.3, allocations: 56.03 kB / 15.44 GB, free: 15.14 MB / 1.87 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001297/59.3, allocations: 160.6 kB / 15.44 GB, free: 15.13 MB / 1.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001193/59.3, allocations: 75 kB / 15.44 GB, free: 15.13 MB / 1.87 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.224e-05/59.3, allocations: 48.69 kB / 15.44 GB, free: 15.13 MB / 1.87 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03976/59.34, allocations: 28.42 MB / 15.47 GB, free: 9.168 MB / 1.885 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01734/59.36, allocations: 3.029 MB / 15.47 GB, free: 8.074 MB / 1.885 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009889/59.37, allocations: 130.3 kB / 15.47 GB, free: 8.074 MB / 1.885 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01744/59.39, allocations: 0.5567 MB / 15.47 GB, free: 7.969 MB / 1.885 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001999/59.39, allocations: 412 kB / 15.47 GB, free: 7.926 MB / 1.885 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002103/59.39, allocations: 257.5 kB / 15.47 GB, free: 7.926 MB / 1.885 GB Notification: Performance of sorting global known variables: time 0.04644/59.44, allocations: 11.54 MB / 15.48 GB, free: 7.422 MB / 1.885 GB Notification: Performance of sort global known variables: time 1.172e-06/59.44, allocations: 0 / 15.48 GB, free: 7.422 MB / 1.885 GB Notification: Performance of remove unused functions: time 0.0411/59.48, allocations: 6.409 MB / 15.49 GB, free: 6.586 MB / 1.885 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse36.phase,$cse36.region,$cse31.phase,$cse31.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (493): * Single equations (assignments): 427 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * 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 Backend phase and start with SimCode phase: time 0.08667/59.56, allocations: 46.46 MB / 15.53 GB, free: 6.391 MB / 1.917 GB Notification: Performance of simCode: created initialization part: time 0.01509/59.58, allocations: 5.309 MB / 15.54 GB, free: 6.297 MB / 1.917 GB Notification: Performance of simCode: created event and clocks part: time 6.327e-05/59.58, allocations: 12.66 kB / 15.54 GB, free: 6.293 MB / 1.917 GB Notification: Performance of simCode: created simulation system equations: time 0.006502/59.59, allocations: 2.662 MB / 15.54 GB, free: 6.273 MB / 1.917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05924/59.64, allocations: 9.449 MB / 15.55 GB, free: 5.793 MB / 1.917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6228/60.27, allocations: 242.2 MB / 15.79 GB, free: 9.809 MB / 2.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02157/60.29, allocations: 7.745 MB / 15.8 GB, free: 8.582 MB / 2.104 GB Notification: Performance of simCode: alias equations: time 0.02766/60.32, allocations: 3.16 MB / 15.8 GB, free: 8.176 MB / 2.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0205/60.34, allocations: 7.786 MB / 15.81 GB, free: 8.164 MB / 2.104 GB Notification: Performance of SimCode: time 1.393e-06/60.34, allocations: 0 / 15.81 GB, free: 8.164 MB / 2.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.694/65.03, allocations: 0.5696 GB / 16.38 GB, free: 464.8 MB / 2.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/65.03, allocations: 252.5 kB / 16.38 GB, free: 464.5 MB / 2.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.65/101.7, allocations: 3 kB / 16.38 GB, free: 464.5 MB / 2.104 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat does not exist to compare? outputFormat=mat