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.417/2.417, allocations: 390.5 MB / 398 MB, free: 10.93 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.001237/0.001237, allocations: 184.4 kB / 491.2 MB, free: 1.578 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.688/1.688, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.001115/0.001114, allocations: 103.8 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.253e-05/2.254e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3166, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.127/9.444, allocations: 3.173 GB / 4.385 GB, free: 46.07 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/9.444, allocations: 107.9 kB / 4.386 GB, free: 46.02 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 56.18/65.62, allocations: 10.67 GB / 15.06 GB, free: 88.36 MB / 1.823 GB Notification: Performance of FrontEnd: time 4.969e-06/65.62, allocations: 2.531 kB / 15.06 GB, free: 88.36 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.006982/65.63, allocations: 0.5667 MB / 15.06 GB, free: 88.24 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.09001/65.72, allocations: 17.87 MB / 15.07 GB, free: 80.13 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.481e-05/65.72, allocations: 13.27 kB / 15.07 GB, free: 80.13 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/65.74, allocations: 2.631 MB / 15.08 GB, free: 79.06 MB / 1.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08619/65.83, allocations: 20.88 MB / 15.1 GB, free: 76.54 MB / 1.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001838/65.83, allocations: 405.6 kB / 15.1 GB, free: 76.54 MB / 1.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008901/65.84, allocations: 0.8016 MB / 15.1 GB, free: 76.54 MB / 1.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04176/65.88, allocations: 8.369 MB / 15.11 GB, free: 76.48 MB / 1.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07054/65.95, allocations: 11.83 MB / 15.12 GB, free: 74.41 MB / 1.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001594/65.95, allocations: 43.36 kB / 15.12 GB, free: 74.41 MB / 1.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006404/65.96, allocations: 29.53 kB / 15.12 GB, free: 74.4 MB / 1.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007166/65.96, allocations: 351.2 kB / 15.12 GB, free: 74.4 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.4685/66.43, allocations: 228 MB / 15.34 GB, free: 18.6 MB / 1.901 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008184/66.44, allocations: 4.326 MB / 15.35 GB, free: 17.91 MB / 1.901 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003938/66.44, allocations: 2.197 MB / 15.35 GB, free: 17.68 MB / 1.901 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/66.46, allocations: 11.92 MB / 15.36 GB, free: 20.17 MB / 1.917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/66.46, allocations: 122.5 kB / 15.36 GB, free: 20.12 MB / 1.917 GB Notification: Performance of pre-optimization done (n=413): time 9.278e-06/66.46, allocations: 0 / 15.36 GB, free: 20.12 MB / 1.917 GB Notification: Performance of matching and sorting (n=413): time 0.02195/66.48, allocations: 5.182 MB / 15.36 GB, free: 19.33 MB / 1.917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004851/66.48, allocations: 0.7874 MB / 15.37 GB, free: 18.42 MB / 1.917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03792/66.52, allocations: 9.554 MB / 15.37 GB, free: 17.71 MB / 1.917 GB Notification: Performance of collectPreVariables (initialization): time 0.002598/66.52, allocations: 50.3 kB / 15.37 GB, free: 17.68 MB / 1.917 GB Notification: Performance of collectInitialEqns (initialization): time 0.01328/66.53, allocations: 9.082 MB / 15.38 GB, free: 14.3 MB / 1.917 GB Notification: Performance of collectInitialBindings (initialization): time 0.003465/66.54, allocations: 1.397 MB / 15.39 GB, free: 13.38 MB / 1.917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008078/66.54, allocations: 0 / 15.39 GB, free: 13.38 MB / 1.917 GB Notification: Performance of setup shared object (initialization): time 0.0004441/66.54, allocations: 0.5319 MB / 15.39 GB, free: 13.06 MB / 1.917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/66.54, allocations: 1.767 MB / 15.39 GB, free: 13.05 MB / 1.917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006435/66.55, allocations: 5.559 MB / 15.39 GB, free: 8.352 MB / 1.917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/66.56, allocations: 3.362 MB / 15.4 GB, free: 8.172 MB / 1.917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/66.56, allocations: 21.62 kB / 15.4 GB, free: 8.172 MB / 1.917 GB Notification: Performance of matching and sorting (n=776) (initialization): time 0.02853/66.59, allocations: 7.316 MB / 15.4 GB, free: 7.375 MB / 1.917 GB Notification: Performance of prepare postOptimizeDAE: time 9.67e-05/66.59, allocations: 37.06 kB / 15.4 GB, free: 7.375 MB / 1.917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/66.59, allocations: 75.62 kB / 15.4 GB, free: 7.375 MB / 1.917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001988/66.59, allocations: 120.8 kB / 15.4 GB, free: 7.375 MB / 1.917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006497/66.59, allocations: 1.419 MB / 15.4 GB, free: 7.309 MB / 1.917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001848/66.59, allocations: 162.5 kB / 15.41 GB, free: 7.273 MB / 1.917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01978/66.61, allocations: 0.9549 MB / 15.41 GB, free: 6.887 MB / 1.917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00419/66.62, allocations: 437.4 kB / 15.41 GB, free: 6.887 MB / 1.917 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.005747/66.62, allocations: 380.5 kB / 15.41 GB, free: 6.613 MB / 1.917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02195/66.64, allocations: 4.999 MB / 15.41 GB, free: 5.801 MB / 1.917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007968/66.65, allocations: 1.277 MB / 15.41 GB, free: 5.117 MB / 1.917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02532/66.68, allocations: 6.359 MB / 15.42 GB, free: 4.746 MB / 1.917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002801/66.68, allocations: 78.41 kB / 15.42 GB, free: 4.746 MB / 1.917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.523e-05/66.68, allocations: 9.594 kB / 15.42 GB, free: 4.746 MB / 1.917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007891/66.69, allocations: 3.795 MB / 15.42 GB, free: 2.965 MB / 1.917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08524/66.77, allocations: 25.39 MB / 15.45 GB, free: 14.84 MB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-05/66.77, allocations: 31.34 kB / 15.45 GB, free: 14.84 MB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/66.78, allocations: 0.7606 MB / 15.45 GB, free: 14.79 MB / 1.932 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.156e-05/66.78, allocations: 54.69 kB / 15.45 GB, free: 14.79 MB / 1.932 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006199/66.78, allocations: 96.03 kB / 15.45 GB, free: 14.79 MB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.662e-05/66.78, allocations: 76.25 kB / 15.45 GB, free: 14.77 MB / 1.932 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.119e-05/66.78, allocations: 48.78 kB / 15.45 GB, free: 14.76 MB / 1.932 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04718/66.82, allocations: 22.48 MB / 15.47 GB, free: 14.84 MB / 1.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01183/66.84, allocations: 2.358 MB / 15.47 GB, free: 13.97 MB / 1.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006994/66.84, allocations: 60.55 kB / 15.47 GB, free: 13.96 MB / 1.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01331/66.86, allocations: 402 kB / 15.47 GB, free: 13.89 MB / 1.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001844/66.86, allocations: 405.5 kB / 15.47 GB, free: 13.82 MB / 1.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00186/66.86, allocations: 256.4 kB / 15.47 GB, free: 13.82 MB / 1.948 GB Notification: Performance of sorting global known variables: time 0.02686/66.89, allocations: 7.114 MB / 15.48 GB, free: 13.46 MB / 1.948 GB Notification: Performance of sort global known variables: time 1.022e-06/66.89, allocations: 0 / 15.48 GB, free: 13.46 MB / 1.948 GB Notification: Performance of remove unused functions: time 0.04162/66.93, allocations: 6.69 MB / 15.49 GB, free: 12.32 MB / 1.948 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 (477): * Single equations (assignments): 413 * 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.08884/67.02, allocations: 44.38 MB / 15.53 GB, free: 13.66 MB / 1.979 GB Notification: Performance of simCode: created initialization part: time 0.01337/67.03, allocations: 4.957 MB / 15.54 GB, free: 13.34 MB / 1.979 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-05/67.03, allocations: 8.438 kB / 15.54 GB, free: 13.34 MB / 1.979 GB Notification: Performance of simCode: created simulation system equations: time 0.005404/67.04, allocations: 2.372 MB / 15.54 GB, free: 13.19 MB / 1.979 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03931/67.08, allocations: 5.464 MB / 15.54 GB, free: 12.88 MB / 1.979 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1117/67.19, allocations: 25.17 MB / 15.57 GB, free: 4.918 MB / 1.979 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02175/67.21, allocations: 7.997 MB / 15.58 GB, free: 3.617 MB / 1.979 GB Notification: Performance of simCode: alias equations: time 0.0218/67.23, allocations: 2.818 MB / 15.58 GB, free: 3.277 MB / 1.979 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01842/67.25, allocations: 7.606 MB / 15.59 GB, free: 3.262 MB / 1.979 GB Notification: Performance of SimCode: time 1.443e-06/67.25, allocations: 0 / 15.59 GB, free: 3.262 MB / 1.979 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.264/71.51, allocations: 399.3 MB / 15.98 GB, free: 409.9 MB / 1.995 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/71.51, allocations: 202.1 kB / 15.98 GB, free: 409.6 MB / 1.995 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.72/94.23, allocations: 0 / 15.98 GB, free: 409.6 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