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.426/2.426, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001131/0.001131, allocations: 176.9 kB / 492.3 MB, free: 0.5938 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.91/1.91, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001012/0.001011, allocations: 95.88 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.046e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3228, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.147/9.47, allocations: 3.172 GB / 4.385 GB, free: 4.277 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/9.471, allocations: 111.7 kB / 4.385 GB, free: 4.172 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 56.12/65.59, allocations: 10.71 GB / 15.1 GB, free: 81.79 MB / 1.823 GB Notification: Performance of FrontEnd: time 3.707e-06/65.59, allocations: 0 / 15.1 GB, free: 81.79 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.00671/65.6, allocations: 0.5441 MB / 15.1 GB, free: 81.66 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: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.08831/65.68, allocations: 17.54 MB / 15.12 GB, free: 73.52 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/65.68, allocations: 10.91 kB / 15.12 GB, free: 73.52 MB / 1.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009273/65.69, allocations: 1.567 MB / 15.12 GB, free: 73.4 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01863/65.71, allocations: 2.591 MB / 15.12 GB, free: 72.36 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0656/65.78, allocations: 20.28 MB / 15.14 GB, free: 69.94 MB / 1.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001859/65.78, allocations: 0.9866 MB / 15.14 GB, free: 69.91 MB / 1.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007251/65.79, allocations: 1.314 MB / 15.14 GB, free: 69.91 MB / 1.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05374/65.84, allocations: 13.27 MB / 15.16 GB, free: 67.74 MB / 1.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008449/65.84, allocations: 43.72 kB / 15.16 GB, free: 67.74 MB / 1.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004515/65.85, allocations: 0.5104 MB / 15.16 GB, free: 67.74 MB / 1.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004439/65.85, allocations: 336.4 kB / 15.16 GB, free: 67.74 MB / 1.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/65.87, allocations: 9.027 MB / 15.17 GB, free: 67.64 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.1134/65.98, allocations: 68.66 MB / 15.23 GB, free: 32.89 MB / 1.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008153/65.99, allocations: 4.869 MB / 15.24 GB, free: 32.11 MB / 1.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003687/66, allocations: 2.412 MB / 15.24 GB, free: 31.86 MB / 1.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08112/66.08, allocations: 51.51 MB / 15.29 GB, free: 25.11 MB / 1.854 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/66.08, allocations: 120 kB / 15.29 GB, free: 25.05 MB / 1.854 GB Notification: Performance of pre-optimization done (n=427): time 7.013e-06/66.08, allocations: 0 / 15.29 GB, free: 25.05 MB / 1.854 GB Notification: Performance of matching and sorting (n=427): time 0.01829/66.1, allocations: 5.464 MB / 15.3 GB, free: 24.06 MB / 1.854 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004029/66.1, allocations: 0.7935 MB / 15.3 GB, free: 23.14 MB / 1.854 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04572/66.14, allocations: 14.03 MB / 15.31 GB, free: 22.24 MB / 1.854 GB Notification: Performance of collectPreVariables (initialization): time 0.002854/66.14, allocations: 165.9 kB / 15.31 GB, free: 22.21 MB / 1.854 GB Notification: Performance of collectInitialEqns (initialization): time 0.0153/66.16, allocations: 8.743 MB / 15.32 GB, free: 19.96 MB / 1.854 GB Notification: Performance of collectInitialBindings (initialization): time 0.002946/66.16, allocations: 1.489 MB / 15.32 GB, free: 19.01 MB / 1.854 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007384/66.16, allocations: 116.6 kB / 15.32 GB, free: 19 MB / 1.854 GB Notification: Performance of setup shared object (initialization): time 0.000414/66.16, allocations: 0.5218 MB / 15.32 GB, free: 18.68 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003309/66.17, allocations: 1.817 MB / 15.32 GB, free: 18.67 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006184/66.17, allocations: 5.439 MB / 15.33 GB, free: 14.28 MB / 1.854 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004873/66.18, allocations: 2.788 MB / 15.33 GB, free: 14 MB / 1.854 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.523e-05/66.18, allocations: 17.97 kB / 15.33 GB, free: 14 MB / 1.854 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01899/66.2, allocations: 7.399 MB / 15.34 GB, free: 12.64 MB / 1.854 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-05/66.2, allocations: 37.19 kB / 15.34 GB, free: 12.64 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-05/66.2, allocations: 62.84 kB / 15.34 GB, free: 12.64 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001434/66.2, allocations: 106 kB / 15.34 GB, free: 12.64 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005133/66.2, allocations: 1.334 MB / 15.34 GB, free: 12.54 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001342/66.2, allocations: 137.9 kB / 15.34 GB, free: 12.51 MB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01894/66.22, allocations: 1.628 MB / 15.34 GB, free: 11.79 MB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002523/66.22, allocations: 408.6 kB / 15.34 GB, free: 11.79 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.002356/66.23, allocations: 0.584 MB / 15.34 GB, free: 11.53 MB / 1.854 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006522/66.23, allocations: 1.618 MB / 15.34 GB, free: 10.67 MB / 1.854 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01957/66.25, allocations: 7.615 MB / 15.35 GB, free: 10.13 MB / 1.854 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001912/66.25, allocations: 87.3 kB / 15.35 GB, free: 10.13 MB / 1.854 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-05/66.25, allocations: 11.94 kB / 15.35 GB, free: 10.13 MB / 1.854 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005371/66.26, allocations: 3.904 MB / 15.36 GB, free: 8.348 MB / 1.854 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06859/66.33, allocations: 28.4 MB / 15.38 GB, free: 3.957 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.573e-05/66.33, allocations: 29.78 kB / 15.38 GB, free: 3.957 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003172/66.33, allocations: 0.7847 MB / 15.38 GB, free: 3.895 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.456e-05/66.33, allocations: 56.25 kB / 15.38 GB, free: 3.895 MB / 1.854 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005679/66.33, allocations: 156.7 kB / 15.38 GB, free: 3.895 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.146e-05/66.33, allocations: 71.61 kB / 15.38 GB, free: 3.883 MB / 1.854 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.162e-05/66.33, allocations: 47.66 kB / 15.38 GB, free: 3.871 MB / 1.854 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02806/66.36, allocations: 28.34 MB / 15.41 GB, free: 13.88 MB / 1.885 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01352/66.37, allocations: 3.029 MB / 15.42 GB, free: 12.78 MB / 1.885 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008461/66.38, allocations: 129.5 kB / 15.42 GB, free: 12.78 MB / 1.885 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01579/66.4, allocations: 0.5533 MB / 15.42 GB, free: 12.68 MB / 1.885 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/66.4, allocations: 412.5 kB / 15.42 GB, free: 12.6 MB / 1.885 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008476/66.4, allocations: 263.3 kB / 15.42 GB, free: 12.6 MB / 1.885 GB Notification: Performance of sorting global known variables: time 0.03334/66.43, allocations: 11.34 MB / 15.43 GB, free: 12.01 MB / 1.885 GB Notification: Performance of sort global known variables: time 6.91e-07/66.43, allocations: 4 kB / 15.43 GB, free: 12.01 MB / 1.885 GB Notification: Performance of remove unused functions: time 0.03412/66.47, allocations: 6.416 MB / 15.43 GB, free: 11.17 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 () * 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.07118/66.54, allocations: 46.34 MB / 15.48 GB, free: 10.65 MB / 1.917 GB Notification: Performance of simCode: created initialization part: time 0.01218/66.55, allocations: 5.255 MB / 15.48 GB, free: 10.3 MB / 1.917 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-05/66.55, allocations: 11.75 kB / 15.48 GB, free: 10.3 MB / 1.917 GB Notification: Performance of simCode: created simulation system equations: time 0.005175/66.56, allocations: 2.625 MB / 15.49 GB, free: 10.12 MB / 1.917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05651/66.61, allocations: 9.444 MB / 15.5 GB, free: 9.203 MB / 1.917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09071/66.7, allocations: 25.99 MB / 15.52 GB, free: 9.539 MB / 1.932 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01792/66.72, allocations: 7.746 MB / 15.53 GB, free: 4.246 MB / 1.932 GB Notification: Performance of simCode: alias equations: time 0.02442/66.75, allocations: 3.158 MB / 15.53 GB, free: 2.125 MB / 1.932 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02118/66.77, allocations: 7.852 MB / 15.54 GB, free: 11.12 MB / 1.948 GB Notification: Performance of SimCode: time 3.527e-06/66.77, allocations: 0 / 15.54 GB, free: 11.12 MB / 1.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.404/71.17, allocations: 0.5801 GB / 16.12 GB, free: 234.1 MB / 1.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/71.17, allocations: 231 kB / 16.12 GB, free: 233.8 MB / 1.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.37/107.5, allocations: 0 / 16.12 GB, free: 233.8 MB / 1.948 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