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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008247, allocations: 91.28 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008996/0.0008998, allocations: 176.7 kB / 15.95 MB, free: 188 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7858, allocations: 142.3 MB / 0.9539 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.638/3.424, allocations: 1.248 GB / 2.202 GB, free: 11.25 MB / 1.357 GB Notification: Performance of NFInst.instExpressions: time 1.365/4.79, allocations: 309.6 MB / 2.504 GB, free: 71.29 MB / 1.404 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04878/4.838, allocations: 0.9953 MB / 2.505 GB, free: 71.29 MB / 1.404 GB Notification: Performance of NFTyping.typeComponents: time 0.03545/4.874, allocations: 8.615 MB / 2.514 GB, free: 71.22 MB / 1.404 GB Notification: Performance of NFTyping.typeBindings: time 0.09563/4.97, allocations: 24.82 MB / 2.538 GB, free: 61.95 MB / 1.404 GB Notification: Performance of NFTyping.typeClassSections: time 0.04348/5.013, allocations: 12.38 MB / 2.55 GB, free: 58.38 MB / 1.404 GB Notification: Performance of NFFlatten.flatten: time 0.08053/5.094, allocations: 63.26 MB / 2.612 GB, free: 23.69 MB / 1.404 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03501/5.129, allocations: 13.95 MB / 2.625 GB, free: 9.902 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05143/5.18, allocations: 18.82 MB / 2.644 GB, free: 7.898 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0431/5.223, allocations: 18.28 MB / 2.662 GB, free: 6.766 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.008699/5.232, allocations: 0.6186 MB / 2.662 GB, free: 6.148 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05103/5.283, allocations: 12.12 MB / 2.674 GB, free: 10.26 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.00852/5.292, allocations: 2.979 MB / 2.677 GB, free: 7.332 MB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.01219/5.304, allocations: 4.07 MB / 2.681 GB, free: 3.246 MB / 1.451 GB Notification: Performance of NFConvertDAE.convert: time 0.04998/5.354, allocations: 31.4 MB / 2.712 GB, free: 4.988 MB / 1.482 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/5.354, allocations: 3.938 kB / 2.712 GB, free: 4.984 MB / 1.482 GB Notification: Performance of FrontEnd: time 4.007e-06/5.354, allocations: 0 / 2.712 GB, free: 4.984 MB / 1.482 GB Notification: Performance of Transformations before backend: time 0.001221/5.355, allocations: 0 / 2.712 GB, free: 4.984 MB / 1.482 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.04027/5.396, allocations: 16.6 MB / 2.728 GB, free: 4.59 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/5.396, allocations: 8.031 kB / 2.728 GB, free: 4.582 MB / 1.498 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004924/5.401, allocations: 1.579 MB / 2.729 GB, free: 2.996 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007753/5.408, allocations: 2.18 MB / 2.731 GB, free: 0.793 MB / 1.498 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03366/5.442, allocations: 16.94 MB / 2.748 GB, free: 240 kB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009751/5.443, allocations: 0.942 MB / 2.749 GB, free: 15.29 MB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002997/5.446, allocations: 1.253 MB / 2.75 GB, free: 14.04 MB / 1.529 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/5.482, allocations: 13.87 MB / 2.764 GB, free: 15.47 MB / 1.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003663/5.482, allocations: 39.59 kB / 2.764 GB, free: 15.43 MB / 1.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001686/5.484, allocations: 0.5119 MB / 2.764 GB, free: 14.93 MB / 1.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003016/5.484, allocations: 335.9 kB / 2.765 GB, free: 14.6 MB / 1.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/5.504, allocations: 9.592 MB / 2.774 GB, free: 5.043 MB / 1.545 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.09108/5.595, allocations: 70.48 MB / 2.843 GB, free: 11.53 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007463/5.603, allocations: 4.544 MB / 2.847 GB, free: 6.738 MB / 1.623 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003793/5.607, allocations: 2.412 MB / 2.85 GB, free: 4.254 MB / 1.623 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7128/6.32, allocations: 51.88 MB / 2.9 GB, free: 0.8121 GB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/6.32, allocations: 121.7 kB / 2.9 GB, free: 0.812 GB / 1.639 GB Notification: Performance of pre-optimization done (n=412): time 8.566e-06/6.32, allocations: 0 / 2.9 GB, free: 0.812 GB / 1.639 GB Notification: Performance of matching and sorting (n=412): time 0.02007/6.34, allocations: 6.905 MB / 2.907 GB, free: 0.8114 GB / 1.639 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002757/6.34, allocations: 0.792 MB / 2.908 GB, free: 0.8105 GB / 1.639 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03621/6.376, allocations: 15.81 MB / 2.923 GB, free: 0.8049 GB / 1.639 GB Notification: Performance of collectPreVariables (initialization): time 0.001601/6.378, allocations: 141 kB / 2.923 GB, free: 0.8048 GB / 1.639 GB Notification: Performance of collectInitialEqns (initialization): time 0.009351/6.387, allocations: 8.279 MB / 2.931 GB, free: 0.7992 GB / 1.639 GB Notification: Performance of collectInitialBindings (initialization): time 0.002523/6.39, allocations: 1.449 MB / 2.933 GB, free: 0.7981 GB / 1.639 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009923/6.391, allocations: 127.6 kB / 2.933 GB, free: 0.798 GB / 1.639 GB Notification: Performance of setup shared object (initialization): time 0.0006784/6.392, allocations: 0.5262 MB / 2.934 GB, free: 0.7976 GB / 1.639 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004028/6.396, allocations: 1.953 MB / 2.935 GB, free: 0.7968 GB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005596/6.401, allocations: 4.712 MB / 2.94 GB, free: 0.7929 GB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00446/6.406, allocations: 2.777 MB / 2.943 GB, free: 0.7917 GB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.251e-05/6.406, allocations: 15.78 kB / 2.943 GB, free: 0.7917 GB / 1.639 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01615/6.422, allocations: 7.71 MB / 2.95 GB, free: 0.7882 GB / 1.639 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/6.422, allocations: 31.28 kB / 2.95 GB, free: 0.7882 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-05/6.422, allocations: 66.5 kB / 2.95 GB, free: 0.7882 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/6.422, allocations: 109.1 kB / 2.95 GB, free: 0.7882 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/6.427, allocations: 1.327 MB / 2.952 GB, free: 0.7879 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001133/6.427, allocations: 134.5 kB / 2.952 GB, free: 0.7879 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0137/6.44, allocations: 1.692 MB / 2.954 GB, free: 0.7869 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/6.442, allocations: 360.2 kB / 2.954 GB, free: 0.7869 GB / 1.639 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 (775): * Single equations (assignments): 775 * 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.009833/6.452, allocations: 3.387 MB / 2.957 GB, free: 0.7848 GB / 1.639 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004985/6.457, allocations: 1.61 MB / 2.959 GB, free: 0.7839 GB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/6.472, allocations: 7.532 MB / 2.966 GB, free: 0.78 GB / 1.639 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001811/6.472, allocations: 78.64 kB / 2.966 GB, free: 0.78 GB / 1.639 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.833e-05/6.472, allocations: 11.58 kB / 2.966 GB, free: 0.78 GB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003915/6.476, allocations: 3.838 MB / 2.97 GB, free: 0.7771 GB / 1.639 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0483/6.524, allocations: 28.34 MB / 2.998 GB, free: 0.7584 GB / 1.639 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.503e-05/6.525, allocations: 33.59 kB / 2.998 GB, free: 0.7584 GB / 1.639 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002567/6.527, allocations: 0.7747 MB / 2.998 GB, free: 0.7582 GB / 1.639 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.028e-05/6.527, allocations: 58.06 kB / 2.998 GB, free: 0.7582 GB / 1.639 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002958/6.528, allocations: 150.1 kB / 2.999 GB, free: 0.7582 GB / 1.639 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.472e-05/6.528, allocations: 74.81 kB / 2.999 GB, free: 0.7581 GB / 1.639 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.402e-05/6.528, allocations: 47.94 kB / 2.999 GB, free: 0.7581 GB / 1.639 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/6.542, allocations: 11.86 MB / 3.01 GB, free: 0.7475 GB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008243/6.55, allocations: 3.093 MB / 3.013 GB, free: 0.7444 GB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004563/6.555, allocations: 128 kB / 3.013 GB, free: 0.7443 GB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01032/6.565, allocations: 0.5488 MB / 3.014 GB, free: 0.7438 GB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008997/6.566, allocations: 400.8 kB / 3.014 GB, free: 0.7434 GB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006402/6.567, allocations: 257.6 kB / 3.015 GB, free: 0.7432 GB / 1.639 GB Notification: Performance of sorting global known variables: time 0.02225/6.589, allocations: 11.23 MB / 3.026 GB, free: 0.7323 GB / 1.639 GB Notification: Performance of sort global known variables: time 5.01e-07/6.589, allocations: 0 / 3.026 GB, free: 0.7323 GB / 1.639 GB Notification: Performance of remove unused functions: time 0.02088/6.61, allocations: 5.181 MB / 3.031 GB, free: 0.7275 GB / 1.639 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,buiHeaGen2to4.bui.loaHea.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,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * 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.02791/6.638, allocations: 16.81 MB / 3.047 GB, free: 0.7115 GB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.009396/6.647, allocations: 5.304 MB / 3.052 GB, free: 0.7063 GB / 1.639 GB Notification: Performance of simCode: created event and clocks part: time 4.113e-05/6.647, allocations: 14 kB / 3.052 GB, free: 0.7063 GB / 1.639 GB Notification: Performance of simCode: created simulation system equations: time 0.003903/6.651, allocations: 2.566 MB / 3.055 GB, free: 0.7038 GB / 1.639 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04682/6.698, allocations: 9.381 MB / 3.064 GB, free: 0.6955 GB / 1.639 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4547/7.153, allocations: 197 MB / 3.256 GB, free: 0.4925 GB / 1.639 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01422/7.167, allocations: 7.413 MB / 3.264 GB, free: 496.9 MB / 1.639 GB Notification: Performance of simCode: alias equations: time 0.02111/7.188, allocations: 3.123 MB / 3.267 GB, free: 493.9 MB / 1.639 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01438/7.203, allocations: 7.786 MB / 3.274 GB, free: 486.2 MB / 1.639 GB Notification: Performance of SimCode: time 1.823e-06/7.203, allocations: 0 / 3.274 GB, free: 486.2 MB / 1.639 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.692/8.895, allocations: 488.4 MB / 3.751 GB, free: 0.8162 GB / 1.639 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/8.895, allocations: 263.4 kB / 3.751 GB, free: 0.8158 GB / 1.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/25.61, allocations: 3.172 kB / 3.751 GB, free: 0.8158 GB / 1.639 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