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.432/2.432, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001109/0.001109, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.495/1.495, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 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.001032/0.001032, allocations: 103.8 kB / 0.9219 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.381e-05/2.385e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2728, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.271/8.544, allocations: 3.172 GB / 4.378 GB, free: 27 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/8.544, allocations: 101.7 kB / 4.378 GB, free: 26.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 51.42/59.96, allocations: 10.66 GB / 15.04 GB, free: 81.41 MB / 1.807 GB Notification: Performance of FrontEnd: time 1.673e-06/59.96, allocations: 0 / 15.04 GB, free: 81.41 MB / 1.807 GB Notification: Performance of Transformations before backend: time 0.003942/59.97, allocations: 0.5433 MB / 15.04 GB, free: 81.29 MB / 1.807 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.06864/60.04, allocations: 17.55 MB / 15.06 GB, free: 73.13 MB / 1.807 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/60.04, allocations: 12.94 kB / 15.06 GB, free: 73.13 MB / 1.807 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01949/60.06, allocations: 2.583 MB / 15.06 GB, free: 72.1 MB / 1.807 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07003/60.13, allocations: 20.29 MB / 15.08 GB, free: 69.65 MB / 1.807 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001311/60.13, allocations: 395.9 kB / 15.08 GB, free: 69.65 MB / 1.807 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006931/60.13, allocations: 0.7817 MB / 15.08 GB, free: 69.65 MB / 1.807 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0325/60.17, allocations: 8.003 MB / 15.09 GB, free: 69.59 MB / 1.807 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05446/60.22, allocations: 11.4 MB / 15.1 GB, free: 67.41 MB / 1.807 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007205/60.22, allocations: 42.31 kB / 15.1 GB, free: 67.41 MB / 1.807 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003673/60.23, allocations: 26.52 kB / 15.1 GB, free: 67.41 MB / 1.807 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003545/60.23, allocations: 339 kB / 15.1 GB, free: 67.4 MB / 1.807 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.1671/60.39, allocations: 95.63 MB / 15.2 GB, free: 14.39 MB / 1.807 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007645/60.4, allocations: 4.378 MB / 15.2 GB, free: 13.65 MB / 1.807 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004167/60.41, allocations: 2.257 MB / 15.2 GB, free: 13.41 MB / 1.807 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07752/60.48, allocations: 43.9 MB / 15.25 GB, free: 11.43 MB / 1.839 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/60.48, allocations: 130.4 kB / 15.25 GB, free: 11.36 MB / 1.839 GB Notification: Performance of pre-optimization done (n=423): time 7.394e-06/60.48, allocations: 4 kB / 15.25 GB, free: 11.36 MB / 1.839 GB Notification: Performance of matching and sorting (n=423): time 0.02237/60.51, allocations: 5.266 MB / 15.25 GB, free: 10.56 MB / 1.839 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004748/60.51, allocations: 0.7907 MB / 15.25 GB, free: 9.645 MB / 1.839 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0306/60.54, allocations: 9.108 MB / 15.26 GB, free: 24.96 MB / 1.854 GB Notification: Performance of collectPreVariables (initialization): time 0.002439/60.54, allocations: 50.08 kB / 15.26 GB, free: 24.93 MB / 1.854 GB Notification: Performance of collectInitialEqns (initialization): time 0.01195/60.55, allocations: 8.683 MB / 15.27 GB, free: 21.71 MB / 1.854 GB Notification: Performance of collectInitialBindings (initialization): time 0.003349/60.55, allocations: 1.417 MB / 15.27 GB, free: 20.77 MB / 1.854 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000992/60.56, allocations: 0 / 15.27 GB, free: 20.77 MB / 1.854 GB Notification: Performance of setup shared object (initialization): time 0.0004818/60.56, allocations: 0.5182 MB / 15.27 GB, free: 20.46 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/60.56, allocations: 1.705 MB / 15.27 GB, free: 20.44 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006425/60.57, allocations: 5.227 MB / 15.28 GB, free: 16.07 MB / 1.854 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/60.58, allocations: 3.22 MB / 15.28 GB, free: 15.8 MB / 1.854 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/60.58, allocations: 19.56 kB / 15.28 GB, free: 15.8 MB / 1.854 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.02541/60.6, allocations: 6.97 MB / 15.29 GB, free: 14.73 MB / 1.854 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/60.6, allocations: 40.06 kB / 15.29 GB, free: 14.72 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/60.6, allocations: 62.53 kB / 15.29 GB, free: 14.72 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/60.6, allocations: 106.5 kB / 15.29 GB, free: 14.72 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006247/60.61, allocations: 1.329 MB / 15.29 GB, free: 14.62 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002081/60.61, allocations: 137 kB / 15.29 GB, free: 14.6 MB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0178/60.63, allocations: 0.9115 MB / 15.29 GB, free: 14.24 MB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004104/60.63, allocations: 412.5 kB / 15.29 GB, free: 14.24 MB / 1.854 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 () * 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.007327/60.64, allocations: 353.7 kB / 15.29 GB, free: 13.99 MB / 1.854 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02341/60.66, allocations: 5.091 MB / 15.3 GB, free: 13.18 MB / 1.854 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007836/60.67, allocations: 1.234 MB / 15.3 GB, free: 12.52 MB / 1.854 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02446/60.69, allocations: 6.695 MB / 15.3 GB, free: 12.05 MB / 1.854 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000277/60.69, allocations: 77.33 kB / 15.3 GB, free: 12.05 MB / 1.854 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.399e-05/60.69, allocations: 7.781 kB / 15.3 GB, free: 12.05 MB / 1.854 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007635/60.7, allocations: 3.791 MB / 15.31 GB, free: 10.27 MB / 1.854 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07609/60.78, allocations: 25.54 MB / 15.33 GB, free: 6.168 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001145/60.78, allocations: 28.53 kB / 15.33 GB, free: 6.168 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003691/60.78, allocations: 0.7697 MB / 15.33 GB, free: 6.113 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.898e-05/60.78, allocations: 54.31 kB / 15.33 GB, free: 6.113 MB / 1.854 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006183/60.78, allocations: 100.1 kB / 15.33 GB, free: 6.113 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.313e-05/60.78, allocations: 69.56 kB / 15.33 GB, free: 6.102 MB / 1.854 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-05/60.78, allocations: 51.91 kB / 15.33 GB, free: 6.086 MB / 1.854 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03118/60.81, allocations: 22.18 MB / 15.35 GB, free: 6.191 MB / 1.87 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01212/60.83, allocations: 2.376 MB / 15.36 GB, free: 5.34 MB / 1.87 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006106/60.83, allocations: 55.25 kB / 15.36 GB, free: 5.336 MB / 1.87 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01328/60.85, allocations: 406.4 kB / 15.36 GB, free: 5.258 MB / 1.87 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001578/60.85, allocations: 404.9 kB / 15.36 GB, free: 5.191 MB / 1.87 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008919/60.85, allocations: 257.8 kB / 15.36 GB, free: 5.191 MB / 1.87 GB Notification: Performance of sorting global known variables: time 0.0207/60.87, allocations: 6.921 MB / 15.36 GB, free: 4.836 MB / 1.87 GB Notification: Performance of sort global known variables: time 6.71e-07/60.87, allocations: 0 / 15.36 GB, free: 4.836 MB / 1.87 GB Notification: Performance of remove unused functions: time 0.03548/60.9, allocations: 6.532 MB / 15.37 GB, free: 3.715 MB / 1.87 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 143 * 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (485): * Single equations (assignments): 421 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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.07806/60.98, allocations: 44.39 MB / 15.41 GB, free: 4.941 MB / 1.901 GB Notification: Performance of simCode: created initialization part: time 0.01139/60.99, allocations: 4.829 MB / 15.42 GB, free: 4.652 MB / 1.901 GB Notification: Performance of simCode: created event and clocks part: time 6.735e-05/60.99, allocations: 15.23 kB / 15.42 GB, free: 4.645 MB / 1.901 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/61, allocations: 2.388 MB / 15.42 GB, free: 4.492 MB / 1.901 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03499/61.03, allocations: 5.468 MB / 15.43 GB, free: 4.129 MB / 1.901 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09415/61.13, allocations: 24.67 MB / 15.45 GB, free: 7.918 MB / 1.917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01972/61.15, allocations: 7.659 MB / 15.46 GB, free: 3.164 MB / 1.917 GB Notification: Performance of simCode: alias equations: time 0.01718/61.17, allocations: 2.561 MB / 15.46 GB, free: 1.438 MB / 1.917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539/64.7, allocations: 7.407 MB / 15.47 GB, free: 368.6 MB / 1.917 GB Notification: Performance of SimCode: time 2.134e-06/64.7, allocations: 0 / 15.47 GB, free: 368.6 MB / 1.917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8109/65.51, allocations: 395.6 MB / 15.85 GB, free: 341.4 MB / 1.917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/65.52, allocations: 196.1 kB / 15.85 GB, free: 341.1 MB / 1.917 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.4/85.92, allocations: 0 / 15.85 GB, free: 341.1 MB / 1.917 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