Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.416/2.416, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.00149/0.00149, allocations: 180.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.001306/0.001306, allocations: 87.89 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.919e-05, allocations: 3.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3515, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.984/10.34, allocations: 3.174 GB / 4.393 GB, free: 321.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/10.34, allocations: 104 kB / 4.393 GB, free: 321.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 57.37/67.71, allocations: 10.72 GB / 15.11 GB, free: 79.21 MB / 1.823 GB Notification: Performance of FrontEnd: time 1.814e-06/67.71, allocations: 2.062 kB / 15.11 GB, free: 79.21 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.005241/67.71, allocations: 0.5634 MB / 15.12 GB, free: 79.08 MB / 1.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.07626/67.79, allocations: 17.87 MB / 15.13 GB, free: 70.8 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/67.79, allocations: 8.938 kB / 15.13 GB, free: 70.8 MB / 1.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01036/67.8, allocations: 1.619 MB / 15.13 GB, free: 70.68 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/67.82, allocations: 2.624 MB / 15.14 GB, free: 69.62 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07341/67.89, allocations: 20.89 MB / 15.16 GB, free: 67.08 MB / 1.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002434/67.9, allocations: 1.007 MB / 15.16 GB, free: 67.05 MB / 1.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007434/67.9, allocations: 1.352 MB / 15.16 GB, free: 67.05 MB / 1.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05932/67.96, allocations: 13.75 MB / 15.17 GB, free: 64.86 MB / 1.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001166/67.96, allocations: 47.69 kB / 15.17 GB, free: 64.86 MB / 1.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006071/67.97, allocations: 0.5297 MB / 15.17 GB, free: 64.86 MB / 1.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005792/67.97, allocations: 352.3 kB / 15.17 GB, free: 64.86 MB / 1.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02737/68, allocations: 9.399 MB / 15.18 GB, free: 64.58 MB / 1.823 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.1184/68.12, allocations: 73.06 MB / 15.25 GB, free: 27.46 MB / 1.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008411/68.12, allocations: 4.86 MB / 15.26 GB, free: 26.69 MB / 1.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004343/68.13, allocations: 2.409 MB / 15.26 GB, free: 26.44 MB / 1.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08343/68.21, allocations: 51.51 MB / 15.31 GB, free: 19.69 MB / 1.854 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/68.21, allocations: 119.1 kB / 15.31 GB, free: 19.64 MB / 1.854 GB Notification: Performance of pre-optimization done (n=427): time 1.869e-05/68.21, allocations: 0 / 15.31 GB, free: 19.64 MB / 1.854 GB Notification: Performance of matching and sorting (n=427): time 0.01949/68.23, allocations: 5.52 MB / 15.32 GB, free: 18.61 MB / 1.854 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005097/68.23, allocations: 0.7975 MB / 15.32 GB, free: 17.69 MB / 1.854 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04909/68.28, allocations: 14.44 MB / 15.33 GB, free: 16.7 MB / 1.854 GB Notification: Performance of collectPreVariables (initialization): time 0.002615/68.28, allocations: 175.2 kB / 15.33 GB, free: 16.67 MB / 1.854 GB Notification: Performance of collectInitialEqns (initialization): time 0.01666/68.3, allocations: 9.065 MB / 15.34 GB, free: 14.27 MB / 1.854 GB Notification: Performance of collectInitialBindings (initialization): time 0.003269/68.3, allocations: 1.5 MB / 15.34 GB, free: 13.32 MB / 1.854 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/68.31, allocations: 123.1 kB / 15.34 GB, free: 13.32 MB / 1.854 GB Notification: Performance of setup shared object (initialization): time 0.001022/68.31, allocations: 0.5297 MB / 15.34 GB, free: 13.01 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005593/68.31, allocations: 1.879 MB / 15.35 GB, free: 12.99 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/68.32, allocations: 5.786 MB / 15.35 GB, free: 8.23 MB / 1.854 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007258/68.33, allocations: 2.949 MB / 15.35 GB, free: 7.922 MB / 1.854 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001833/68.33, allocations: 19.25 kB / 15.35 GB, free: 7.922 MB / 1.854 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.02565/68.36, allocations: 7.8 MB / 15.36 GB, free: 6.469 MB / 1.854 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/68.36, allocations: 36.16 kB / 15.36 GB, free: 6.469 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/68.36, allocations: 75.56 kB / 15.36 GB, free: 6.469 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002128/68.36, allocations: 126 kB / 15.36 GB, free: 6.469 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006169/68.36, allocations: 1.417 MB / 15.36 GB, free: 6.359 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002462/68.36, allocations: 164.2 kB / 15.36 GB, free: 6.324 MB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02189/68.39, allocations: 1.829 MB / 15.36 GB, free: 5.543 MB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002905/68.39, allocations: 430.2 kB / 15.37 GB, free: 5.543 MB / 1.854 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (776): * Single equations (assignments): 776 * 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.004861/68.39, allocations: 0.61 MB / 15.37 GB, free: 5.273 MB / 1.854 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009272/68.4, allocations: 1.659 MB / 15.37 GB, free: 4.395 MB / 1.854 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02518/68.43, allocations: 7.649 MB / 15.37 GB, free: 3.867 MB / 1.854 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000275/68.43, allocations: 84.66 kB / 15.38 GB, free: 3.867 MB / 1.854 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-05/68.43, allocations: 8.375 kB / 15.38 GB, free: 3.867 MB / 1.854 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006588/68.44, allocations: 3.91 MB / 15.38 GB, free: 2.078 MB / 1.854 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08396/68.52, allocations: 28.74 MB / 15.41 GB, free: 13.68 MB / 1.87 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001985/68.52, allocations: 34.94 kB / 15.41 GB, free: 13.68 MB / 1.87 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003698/68.52, allocations: 0.7786 MB / 15.41 GB, free: 13.63 MB / 1.87 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/68.52, allocations: 58.94 kB / 15.41 GB, free: 13.62 MB / 1.87 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001291/68.52, allocations: 163.2 kB / 15.41 GB, free: 13.62 MB / 1.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.848e-05/68.52, allocations: 70.84 kB / 15.41 GB, free: 13.61 MB / 1.87 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.529e-05/68.52, allocations: 48.72 kB / 15.41 GB, free: 13.59 MB / 1.87 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03997/68.56, allocations: 28.8 MB / 15.44 GB, free: 7.582 MB / 1.885 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01507/68.58, allocations: 3.062 MB / 15.44 GB, free: 6.465 MB / 1.885 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009187/68.59, allocations: 136.1 kB / 15.44 GB, free: 6.461 MB / 1.885 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01727/68.61, allocations: 0.6193 MB / 15.44 GB, free: 6.348 MB / 1.885 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001719/68.61, allocations: 408 kB / 15.44 GB, free: 6.277 MB / 1.885 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001765/68.61, allocations: 259.4 kB / 15.44 GB, free: 6.277 MB / 1.885 GB Notification: Performance of sorting global known variables: time 0.03966/68.65, allocations: 11.66 MB / 15.45 GB, free: 5.684 MB / 1.885 GB Notification: Performance of sort global known variables: time 1.022e-06/68.65, allocations: 0 / 15.45 GB, free: 5.684 MB / 1.885 GB Notification: Performance of remove unused functions: time 0.03731/68.69, allocations: 6.483 MB / 15.46 GB, free: 4.828 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 ($cse40.phase,$cse40.region,$cse35.phase,$cse35.region) * Number of discrete 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.0826/68.77, allocations: 46.43 MB / 15.5 GB, free: 0.9375 MB / 1.917 GB Notification: Performance of simCode: created initialization part: time 0.01266/68.78, allocations: 5.426 MB / 15.51 GB, free: 14.92 MB / 1.932 GB Notification: Performance of simCode: created event and clocks part: time 4.886e-05/68.78, allocations: 8.938 kB / 15.51 GB, free: 14.92 MB / 1.932 GB Notification: Performance of simCode: created simulation system equations: time 0.005095/68.79, allocations: 2.618 MB / 15.51 GB, free: 13.94 MB / 1.932 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06142/68.85, allocations: 9.741 MB / 15.52 GB, free: 9.23 MB / 1.932 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1/68.95, allocations: 26.98 MB / 15.55 GB, free: 0.5898 MB / 1.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.436/72.39, allocations: 8.262 MB / 15.56 GB, free: 379.1 MB / 1.948 GB Notification: Performance of simCode: alias equations: time 0.02764/72.41, allocations: 3.252 MB / 15.56 GB, free: 379 MB / 1.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02469/72.44, allocations: 7.977 MB / 15.57 GB, free: 379 MB / 1.948 GB Notification: Performance of SimCode: time 2.334e-06/72.44, allocations: 1.719 kB / 15.57 GB, free: 379 MB / 1.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.143/73.58, allocations: 0.588 GB / 16.15 GB, free: 200.2 MB / 1.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/73.58, allocations: 232.5 kB / 16.15 GB, free: 199.9 MB / 1.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.29/112.9, allocations: 0 / 16.15 GB, free: 199.9 MB / 1.948 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat does not exist to compare? outputFormat=mat