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.593/2.593, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001462/0.001462, allocations: 183.5 kB / 0.4901 GB, free: 2.203 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.809/1.809, allocations: 223.1 MB / 0.7992 GB, free: 15.61 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.001254/0.001253, allocations: 104.2 kB / 0.9396 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.0005131, allocations: 13.3 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4693, allocations: 143 MB / 1.229 GB, free: 85.32 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.189/9.658, allocations: 3.174 GB / 4.403 GB, free: 164 MB / 1.182 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/9.659, allocations: 103.3 kB / 4.403 GB, free: 163.9 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 47.2/56.86, allocations: 10.76 GB / 15.16 GB, free: 15.96 MB / 1.807 GB Notification: Performance of FrontEnd: time 2.555e-06/56.86, allocations: 0 / 15.16 GB, free: 15.96 MB / 1.807 GB Notification: Performance of Transformations before backend: time 0.003996/56.86, allocations: 0.562 MB / 15.16 GB, free: 15.4 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: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.07401/56.94, allocations: 20.83 MB / 15.19 GB, free: 10.32 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/56.94, allocations: 12.03 kB / 15.19 GB, free: 10.31 MB / 1.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009027/56.95, allocations: 1.637 MB / 15.19 GB, free: 8.668 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/56.96, allocations: 2.631 MB / 15.19 GB, free: 6.012 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06317/57.03, allocations: 20.98 MB / 15.21 GB, free: 1 MB / 1.839 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001528/57.03, allocations: 1.005 MB / 15.21 GB, free: 15.99 MB / 1.854 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005014/57.03, allocations: 1.347 MB / 15.21 GB, free: 14.64 MB / 1.854 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.445/58.48, allocations: 13.94 MB / 15.23 GB, free: 272.8 MB / 1.854 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001314/58.48, allocations: 36.06 kB / 15.23 GB, free: 272.8 MB / 1.854 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006156/58.49, allocations: 0.5286 MB / 15.23 GB, free: 272.8 MB / 1.854 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007389/58.49, allocations: 347.8 kB / 15.23 GB, free: 272.8 MB / 1.854 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03072/58.52, allocations: 9.61 MB / 15.24 GB, free: 272.8 MB / 1.854 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.1191/58.64, allocations: 73.06 MB / 15.31 GB, free: 238.1 MB / 1.854 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008652/58.65, allocations: 4.885 MB / 15.31 GB, free: 237.5 MB / 1.854 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07992/58.73, allocations: 51.37 MB / 15.36 GB, free: 200.1 MB / 1.854 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/58.73, allocations: 129.3 kB / 15.36 GB, free: 200.1 MB / 1.854 GB Notification: Performance of pre-optimization done (n=427): time 8.035e-06/58.73, allocations: 0 / 15.36 GB, free: 200.1 MB / 1.854 GB Notification: Performance of matching and sorting (n=427): time 0.02112/58.75, allocations: 7.045 MB / 15.37 GB, free: 199.1 MB / 1.854 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/58.75, allocations: 0.7912 MB / 15.37 GB, free: 198.2 MB / 1.854 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04049/58.79, allocations: 14.63 MB / 15.38 GB, free: 197.4 MB / 1.854 GB Notification: Performance of collectPreVariables (initialization): time 0.002199/58.79, allocations: 168.6 kB / 15.38 GB, free: 197.3 MB / 1.854 GB Notification: Performance of collectInitialEqns (initialization): time 0.01258/58.8, allocations: 9.075 MB / 15.39 GB, free: 195.4 MB / 1.854 GB Notification: Performance of collectInitialBindings (initialization): time 0.002773/58.81, allocations: 1.489 MB / 15.39 GB, free: 194.7 MB / 1.854 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006625/58.81, allocations: 124.6 kB / 15.39 GB, free: 194.7 MB / 1.854 GB Notification: Performance of setup shared object (initialization): time 0.0003184/58.81, allocations: 0.5321 MB / 15.4 GB, free: 194.4 MB / 1.854 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003314/58.81, allocations: 1.924 MB / 15.4 GB, free: 194.3 MB / 1.854 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005836/58.82, allocations: 5.841 MB / 15.4 GB, free: 189.7 MB / 1.854 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005304/58.82, allocations: 2.962 MB / 15.41 GB, free: 189.7 MB / 1.854 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.686e-05/58.82, allocations: 19.75 kB / 15.41 GB, free: 189.7 MB / 1.854 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.02095/58.84, allocations: 7.88 MB / 15.41 GB, free: 188.8 MB / 1.854 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/58.84, allocations: 38.31 kB / 15.41 GB, free: 188.8 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/58.84, allocations: 76.28 kB / 15.41 GB, free: 188.8 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/58.84, allocations: 119.1 kB / 15.41 GB, free: 188.8 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005737/58.85, allocations: 1.417 MB / 15.42 GB, free: 188.8 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001635/58.85, allocations: 158.2 kB / 15.42 GB, free: 188.8 MB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01644/58.86, allocations: 1.831 MB / 15.42 GB, free: 188.4 MB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002329/58.87, allocations: 433.1 kB / 15.42 GB, free: 188.4 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 () * Number of clocked 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.01211/58.88, allocations: 3.589 MB / 15.42 GB, free: 188.3 MB / 1.854 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005585/58.88, allocations: 1.66 MB / 15.42 GB, free: 187.4 MB / 1.854 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/58.9, allocations: 7.699 MB / 15.43 GB, free: 187 MB / 1.854 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001363/58.9, allocations: 89 kB / 15.43 GB, free: 187 MB / 1.854 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.289e-05/58.9, allocations: 6.469 kB / 15.43 GB, free: 187 MB / 1.854 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004148/58.91, allocations: 3.944 MB / 15.43 GB, free: 185.2 MB / 1.854 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05783/58.96, allocations: 28.8 MB / 15.46 GB, free: 181.3 MB / 1.854 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.77e-05/58.97, allocations: 37.25 kB / 15.46 GB, free: 181.3 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/58.97, allocations: 0.7762 MB / 15.46 GB, free: 181.3 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.422e-05/58.97, allocations: 54.31 kB / 15.46 GB, free: 181.3 MB / 1.854 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000476/58.97, allocations: 159.1 kB / 15.46 GB, free: 181.3 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.868e-05/58.97, allocations: 72.41 kB / 15.46 GB, free: 181.3 MB / 1.854 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.662e-05/58.97, allocations: 56.06 kB / 15.46 GB, free: 181.3 MB / 1.854 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02172/58.99, allocations: 28.88 MB / 15.49 GB, free: 159.4 MB / 1.854 GB Notification: Performance of postOpt removeConstants (simulation): time 0.012/59, allocations: 3.069 MB / 15.49 GB, free: 158.4 MB / 1.854 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006615/59.01, allocations: 132.4 kB / 15.49 GB, free: 158.4 MB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01305/59.02, allocations: 0.6209 MB / 15.5 GB, free: 158.3 MB / 1.854 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/59.02, allocations: 411.9 kB / 15.5 GB, free: 158.3 MB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007563/59.02, allocations: 261.3 kB / 15.5 GB, free: 158.3 MB / 1.854 GB Notification: Performance of sorting global known variables: time 0.03064/59.06, allocations: 11.85 MB / 15.51 GB, free: 157.8 MB / 1.854 GB Notification: Performance of sort global known variables: time 4.61e-07/59.06, allocations: 0 / 15.51 GB, free: 157.8 MB / 1.854 GB Notification: Performance of remove unused functions: time 0.02967/59.08, allocations: 6.486 MB / 15.51 GB, free: 157.6 MB / 1.854 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 () * 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.06533/59.15, allocations: 46.51 MB / 15.56 GB, free: 127.3 MB / 1.854 GB Notification: Performance of simCode: created initialization part: time 0.01256/59.16, allocations: 5.487 MB / 15.56 GB, free: 127.3 MB / 1.854 GB Notification: Performance of simCode: created event and clocks part: time 4.664e-05/59.16, allocations: 5.188 kB / 15.56 GB, free: 127.3 MB / 1.854 GB Notification: Performance of simCode: created simulation system equations: time 0.004989/59.17, allocations: 2.65 MB / 15.57 GB, free: 127.3 MB / 1.854 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05336/59.22, allocations: 9.733 MB / 15.58 GB, free: 127.1 MB / 1.854 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7284/59.95, allocations: 258 MB / 15.83 GB, free: 71.24 MB / 1.995 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01865/59.97, allocations: 8.11 MB / 15.84 GB, free: 70.12 MB / 1.995 GB Notification: Performance of simCode: alias equations: time 0.02481/59.99, allocations: 3.252 MB / 15.84 GB, free: 69.95 MB / 1.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01664/60.01, allocations: 7.975 MB / 15.85 GB, free: 69.94 MB / 1.995 GB Notification: Performance of SimCode: time 8.125e-06/60.01, allocations: 3.531 kB / 15.85 GB, free: 69.94 MB / 1.995 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.734/63.74, allocations: 0.5776 GB / 16.43 GB, free: 415.5 MB / 1.995 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/63.74, allocations: 255.2 kB / 16.43 GB, free: 415.2 MB / 1.995 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.32/104.1, allocations: 0 / 16.43 GB, free: 415.2 MB / 1.995 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