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.001107/0.001107, allocations: 177.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 221.3 MB / 235.5 MB, free: 2.957 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.0009044/0.0009043, allocations: 91.55 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9195/0.9195, allocations: 120.5 MB / 457.9 MB, free: 7.062 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.784e-05, allocations: 0 / 0.5358 GB, free: 12.12 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5356/0.5356, allocations: 82.84 MB / 0.6167 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.6812, allocations: 124.9 MB / 0.7387 GB, free: 12.28 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001587/0.6814, allocations: 55.92 kB / 0.7388 GB, free: 12.23 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.001074/0.6825, allocations: 478.3 kB / 0.7392 GB, free: 11.76 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6825, allocations: 0 / 0.7392 GB, free: 11.76 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.6825, allocations: 0 / 0.7392 GB, free: 11.76 MB / 0.5419 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.0002457/0.6828, allocations: 310.5 kB / 0.7395 GB, free: 11.41 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.6828, allocations: 16.03 kB / 0.7395 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.567e-05/0.6829, allocations: 34.55 kB / 0.7396 GB, free: 11.35 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.6829, allocations: 3.953 kB / 0.7396 GB, free: 11.35 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.701e-05/0.683, allocations: 159.1 kB / 0.7397 GB, free: 11.15 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.683, allocations: 0 / 0.7397 GB, free: 11.15 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.6831, allocations: 4 kB / 0.7397 GB, free: 11.15 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.964e-05/0.6832, allocations: 33.64 kB / 0.7398 GB, free: 11.11 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6832, allocations: 0 / 0.7398 GB, free: 11.11 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.6832, allocations: 0 / 0.7398 GB, free: 11.11 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.6832, allocations: 3.953 kB / 0.7398 GB, free: 11.11 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.6833, allocations: 8 kB / 0.7398 GB, free: 11.1 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.6834, allocations: 153.7 kB / 0.7399 GB, free: 10.9 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.6835, allocations: 18.61 kB / 0.7399 GB, free: 10.87 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.6835, allocations: 12.31 kB / 0.7399 GB, free: 10.86 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.6837, allocations: 93.08 kB / 0.74 GB, free: 10.75 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.6837, allocations: 34.5 kB / 0.7401 GB, free: 10.71 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.6837, allocations: 4 kB / 0.7401 GB, free: 10.7 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0001323/0.6839, allocations: 33.7 kB / 0.7401 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.6839, allocations: 51.41 kB / 0.7401 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.963e-05/0.684, allocations: 85 kB / 0.7402 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.684, allocations: 25.7 kB / 0.7403 GB, free: 10.48 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.6841, allocations: 84.14 kB / 0.7403 GB, free: 10.39 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.6841, allocations: 11.89 kB / 0.7403 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.6841, allocations: 0 / 0.7403 GB, free: 10.38 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.6842, allocations: 318.8 kB / 0.7406 GB, free: 10.06 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.6842, allocations: 4 kB / 0.7406 GB, free: 10.06 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.6842, allocations: 0 / 0.7406 GB, free: 10.06 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.139e-05/0.6843, allocations: 4 kB / 0.7407 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6843, allocations: 0 / 0.7407 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.361e-05/0.6843, allocations: 45.58 kB / 0.7407 GB, free: 10 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6844, allocations: 5.406 kB / 0.7407 GB, free: 10 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.6844, allocations: 0 / 0.7407 GB, free: 10 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.6844, allocations: 3.984 kB / 0.7407 GB, free: 9.996 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.252e-05/0.6845, allocations: 8.094 kB / 0.7407 GB, free: 9.988 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.6845, allocations: 3.938 kB / 0.7407 GB, free: 9.984 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.6845, allocations: 0 / 0.7407 GB, free: 9.984 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.6845, allocations: 0 / 0.7407 GB, free: 9.984 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 6.196e-05/0.6846, allocations: 108.9 kB / 0.7408 GB, free: 9.871 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.6846, allocations: 0 / 0.7408 GB, free: 9.871 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.6847, allocations: 48.75 kB / 0.7409 GB, free: 9.816 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6847, allocations: 4.031 kB / 0.7409 GB, free: 9.812 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.6847, allocations: 0 / 0.7409 GB, free: 9.812 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.6847, allocations: 0 / 0.7409 GB, free: 9.812 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.415e-05/0.6848, allocations: 149.6 kB / 0.741 GB, free: 9.617 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.6848, allocations: 0 / 0.741 GB, free: 9.617 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.6848, allocations: 11.98 kB / 0.741 GB, free: 9.605 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.6849, allocations: 0 / 0.741 GB, free: 9.605 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.6849, allocations: 0 / 0.741 GB, free: 9.605 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6849, allocations: 4 kB / 0.741 GB, free: 9.602 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6849, allocations: 0 / 0.741 GB, free: 9.602 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.568e-05/0.685, allocations: 65.09 kB / 0.7411 GB, free: 9.52 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.685, allocations: 85 kB / 0.7412 GB, free: 9.418 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.685, allocations: 4 kB / 0.7412 GB, free: 9.414 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.685, allocations: 0 / 0.7412 GB, free: 9.414 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/0.6851, allocations: 3.938 kB / 0.7412 GB, free: 9.41 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.6851, allocations: 0 / 0.7412 GB, free: 9.41 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 2.556e-05/0.6851, allocations: 75.28 kB / 0.7413 GB, free: 9.336 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6851, allocations: 0 / 0.7413 GB, free: 9.336 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0001776/0.6853, allocations: 8.031 kB / 0.7413 GB, free: 9.328 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.0003593/0.6857, allocations: 0.6007 MB / 0.7418 GB, free: 8.695 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.036e-05/0.6857, allocations: 15.94 kB / 0.7419 GB, free: 8.68 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6857, allocations: 0 / 0.7419 GB, free: 8.68 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.186e-05/0.6858, allocations: 8.094 kB / 0.7419 GB, free: 8.672 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.785e-05/0.6859, allocations: 0 / 0.7419 GB, free: 8.672 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.6861, allocations: 82.64 kB / 0.7419 GB, free: 8.555 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.6864, allocations: 0.677 MB / 0.7426 GB, free: 7.852 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 2.779e-05/0.6864, allocations: 3.984 kB / 0.7426 GB, free: 7.848 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.6864, allocations: 7.438 kB / 0.7426 GB, free: 7.84 MB / 0.5419 GB Notification: Performance of SimCode: time 5.81e-07/0.6864, allocations: 0 / 0.7426 GB, free: 7.84 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.6986, allocations: 0.8332 MB / 0.7434 GB, free: 7.145 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.6988, allocations: 173.8 kB / 0.7436 GB, free: 6.918 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.393/2.091, allocations: 0 / 0.7436 GB, free: 6.918 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