Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 174.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.5 MB / 230.3 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.000919, allocations: 87.48 kB / 281.2 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8886/0.8886, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.422e-05, allocations: 0 / 0.5289 GB, free: 1.223 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5416, allocations: 82.84 MB / 0.6098 GB, free: 12.97 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.6833, allocations: 124.3 MB / 0.7311 GB, free: 0.5547 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001091/0.6834, allocations: 51.92 kB / 0.7312 GB, free: 0.5039 MB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008373/0.6843, allocations: 470.4 kB / 0.7316 GB, free: 40 kB / 0.5263 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6843, allocations: 0 / 0.7316 GB, free: 40 kB / 0.5263 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.6843, allocations: 4 kB / 0.7316 GB, free: 36 kB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.00022/0.6846, allocations: 310.5 kB / 0.7319 GB, free: 15.69 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.6846, allocations: 8.031 kB / 0.7319 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.6846, allocations: 3.953 kB / 0.7319 GB, free: 15.68 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.623e-05/0.6847, allocations: 163.1 kB / 0.7321 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.6847, allocations: 0 / 0.7321 GB, free: 15.48 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.6847, allocations: 4 kB / 0.7321 GB, free: 15.47 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.104e-05/0.6848, allocations: 3.938 kB / 0.7321 GB, free: 15.47 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.878e-05/0.6849, allocations: 33.7 kB / 0.7321 GB, free: 15.43 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.6849, allocations: 4 kB / 0.7321 GB, free: 15.43 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.6849, allocations: 0 / 0.7321 GB, free: 15.43 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6849, allocations: 3.953 kB / 0.7322 GB, free: 15.42 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.685, allocations: 130.2 kB / 0.7323 GB, free: 15.26 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 3.93e-05/0.6851, allocations: 18.61 kB / 0.7323 GB, free: 15.23 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.6851, allocations: 12.25 kB / 0.7323 GB, free: 15.22 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.6852, allocations: 85.17 kB / 0.7324 GB, free: 15.12 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.6853, allocations: 38.5 kB / 0.7324 GB, free: 15.07 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6853, allocations: 0 / 0.7324 GB, free: 15.07 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.6854, allocations: 37.69 kB / 0.7325 GB, free: 15.03 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.6855, allocations: 51.41 kB / 0.7325 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.694e-05/0.6855, allocations: 85 kB / 0.7326 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.6855, allocations: 25.7 kB / 0.7326 GB, free: 14.84 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.6855, allocations: 84.14 kB / 0.7327 GB, free: 14.76 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.6856, allocations: 11.94 kB / 0.7327 GB, free: 14.75 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.6856, allocations: 3.938 kB / 0.7327 GB, free: 14.74 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.6857, allocations: 318.8 kB / 0.733 GB, free: 14.42 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-06/0.6857, allocations: 0 / 0.733 GB, free: 14.42 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.6857, allocations: 4 kB / 0.733 GB, free: 14.42 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.911e-05/0.6857, allocations: 4 kB / 0.733 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6857, allocations: 0 / 0.733 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.303e-05/0.6858, allocations: 45.62 kB / 0.7331 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6858, allocations: 7.938 kB / 0.7331 GB, free: 14.36 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.6859, allocations: 4.094 kB / 0.7331 GB, free: 14.35 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.6859, allocations: 4 kB / 0.7331 GB, free: 14.35 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.6859, allocations: 0 / 0.7331 GB, free: 14.35 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6859, allocations: 0 / 0.7331 GB, free: 14.35 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.686, allocations: 4 kB / 0.7331 GB, free: 14.34 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.686, allocations: 0 / 0.7331 GB, free: 14.34 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.908e-05/0.686, allocations: 104.9 kB / 0.7332 GB, free: 14.23 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.509e-05/0.6861, allocations: 37.69 kB / 0.7332 GB, free: 14.19 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.6861, allocations: 4 kB / 0.7332 GB, free: 14.19 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.6862, allocations: 53.41 kB / 0.7333 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.6862, allocations: 0 / 0.7333 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6863, allocations: 0 / 0.7333 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.6863, allocations: 0 / 0.7333 GB, free: 14.13 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.198e-05/0.6863, allocations: 130.2 kB / 0.7334 GB, free: 13.96 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6863, allocations: 11.98 kB / 0.7334 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.6864, allocations: 0 / 0.7334 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6864, allocations: 0 / 0.7334 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.6864, allocations: 4 kB / 0.7334 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6864, allocations: 4.031 kB / 0.7334 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6864, allocations: 0 / 0.7334 GB, free: 13.95 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.091e-05/0.6865, allocations: 68.98 kB / 0.7335 GB, free: 13.86 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.6865, allocations: 77.11 kB / 0.7336 GB, free: 13.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.6866, allocations: 4 kB / 0.7336 GB, free: 13.76 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.6866, allocations: 3.938 kB / 0.7336 GB, free: 13.76 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.6866, allocations: 0 / 0.7336 GB, free: 13.76 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.88e-06/0.6866, allocations: 12.02 kB / 0.7336 GB, free: 13.75 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.432e-05/0.6866, allocations: 75.28 kB / 0.7336 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6866, allocations: 0 / 0.7336 GB, free: 13.67 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000177/0.6868, allocations: 4 kB / 0.7337 GB, free: 13.67 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003239/0.6871, allocations: 0.6007 MB / 0.7342 GB, free: 13.04 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 5.247e-05/0.6872, allocations: 12.03 kB / 0.7342 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6872, allocations: 0 / 0.7342 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.026e-05/0.6872, allocations: 7.938 kB / 0.7343 GB, free: 13.02 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.684e-05/0.6873, allocations: 3.938 kB / 0.7343 GB, free: 13.01 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.6876, allocations: 85.64 kB / 0.7343 GB, free: 12.89 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.6878, allocations: 0.669 MB / 0.735 GB, free: 12.2 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.6878, allocations: 12.11 kB / 0.735 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.6878, allocations: 7.438 kB / 0.735 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of SimCode: time 3.31e-07/0.6878, allocations: 0 / 0.735 GB, free: 12.18 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.7046, allocations: 0.5253 MB / 0.7355 GB, free: 11.66 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.7048, allocations: 160.6 kB / 0.7357 GB, free: 11.46 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.495/2.2, allocations: 0 / 0.7357 GB, free: 11.46 MB / 0.5419 GB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat does not exist to compare? outputFormat=mat