Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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/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 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: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 101.4 kB / 16.5 MB, free: 6.641 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.001349/0.001349, allocations: 193.2 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8418/0.8418, allocations: 119.3 MB / 410.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 55.91 kB / 0.4902 GB, free: 14.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4042, allocations: 80.68 MB / 0.569 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001323/0.4056, allocations: 464.9 kB / 0.5695 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000309/0.4059, allocations: 173 kB / 0.5696 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.107e-05/0.4059, allocations: 0 / 0.5696 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.4059, allocations: 0 / 0.5696 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.056e-05/0.406, allocations: 0 / 0.5696 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.4061, allocations: 11.38 kB / 0.5697 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.989e-05/0.4061, allocations: 2.219 kB / 0.5697 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.4062, allocations: 1.125 kB / 0.5697 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.476e-05/0.4062, allocations: 9.266 kB / 0.5697 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.554e-05/0.4062, allocations: 1.156 kB / 0.5697 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.627e-06/0.4062, allocations: 0 / 0.5697 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.817e-05/0.4063, allocations: 10.78 kB / 0.5697 GB, free: 42.45 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.4063, allocations: 11.91 kB / 0.5697 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.374e-05/0.4063, allocations: 1.156 kB / 0.5697 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.555e-05/0.4064, allocations: 4.438 kB / 0.5697 GB, free: 42.43 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4064, allocations: 4 kB / 0.5697 GB, free: 42.43 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.31e-07/0.4064, allocations: 1.188 kB / 0.5697 GB, free: 42.43 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4064, allocations: 0 / 0.5697 GB, free: 42.43 MB / 462.3 MB 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.0001738/0.4066, allocations: 322.9 kB / 0.57 GB, free: 42.07 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.4066, allocations: 10.34 kB / 0.57 GB, free: 42.07 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.4066, allocations: 0.9375 kB / 0.57 GB, free: 42.07 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.478e-05/0.4067, allocations: 165.5 kB / 0.5702 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.4067, allocations: 384 / 0.5702 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.772e-06/0.4067, allocations: 1.562 kB / 0.5702 GB, free: 41.87 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.918e-05/0.4068, allocations: 33.67 kB / 0.5702 GB, free: 41.83 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.4068, allocations: 192 / 0.5702 GB, free: 41.83 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.4068, allocations: 3.938 kB / 0.5702 GB, free: 41.83 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4068, allocations: 5.406 kB / 0.5702 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.4069, allocations: 2.312 kB / 0.5702 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.478e-05/0.4069, allocations: 152.1 kB / 0.5704 GB, free: 41.63 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.747e-05/0.407, allocations: 27.08 kB / 0.5704 GB, free: 41.6 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.407, allocations: 7.078 kB / 0.5704 GB, free: 41.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.4072, allocations: 86.75 kB / 0.5705 GB, free: 41.49 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.4072, allocations: 39.72 kB / 0.5705 GB, free: 41.45 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4072, allocations: 0 / 0.5705 GB, free: 41.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001252/0.4073, allocations: 42.02 kB / 0.5706 GB, free: 41.41 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.4074, allocations: 52.22 kB / 0.5706 GB, free: 41.34 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.725e-05/0.4074, allocations: 93.84 kB / 0.5707 GB, free: 41.24 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.4074, allocations: 26.8 kB / 0.5707 GB, free: 41.21 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 9.858e-06/0.4074, allocations: 80.14 kB / 0.5708 GB, free: 41.13 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.4075, allocations: 9.031 kB / 0.5708 GB, free: 41.12 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.4075, allocations: 16.22 kB / 0.5708 GB, free: 41.1 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.421e-05/0.4075, allocations: 312 kB / 0.5711 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-06/0.4075, allocations: 1.375 kB / 0.5711 GB, free: 40.79 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.4076, allocations: 6.188 kB / 0.5711 GB, free: 40.79 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.329e-05/0.4076, allocations: 9.547 kB / 0.5711 GB, free: 40.78 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4076, allocations: 0 / 0.5711 GB, free: 40.78 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.628e-05/0.4076, allocations: 50.19 kB / 0.5712 GB, free: 40.73 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.4077, allocations: 8.812 kB / 0.5712 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.4077, allocations: 0 / 0.5712 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.4077, allocations: 4.969 kB / 0.5712 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.142e-05/0.4077, allocations: 3.094 kB / 0.5712 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.4077, allocations: 0 / 0.5712 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.4077, allocations: 2.969 kB / 0.5712 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.4078, allocations: 1.125 kB / 0.5712 GB, free: 40.72 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.4078, allocations: 110.9 kB / 0.5713 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.4078, allocations: 1.125 kB / 0.5713 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.063e-05/0.4079, allocations: 51.62 kB / 0.5714 GB, free: 40.55 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4079, allocations: 1.188 kB / 0.5714 GB, free: 40.55 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4079, allocations: 0 / 0.5714 GB, free: 40.55 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4079, allocations: 4 kB / 0.5714 GB, free: 40.55 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.414e-05/0.408, allocations: 152 kB / 0.5715 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.408, allocations: 5.062 kB / 0.5715 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.815e-05/0.408, allocations: 2.125 kB / 0.5715 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.408, allocations: 1.125 kB / 0.5715 GB, free: 40.35 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.408, allocations: 3.938 kB / 0.5715 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.408, allocations: 9.031 kB / 0.5715 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.408, allocations: 0 / 0.5715 GB, free: 40.34 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.789e-05/0.4081, allocations: 66.34 kB / 0.5716 GB, free: 40.26 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.4081, allocations: 77.11 kB / 0.5717 GB, free: 40.17 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-06/0.4081, allocations: 5.188 kB / 0.5717 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.115e-05/0.4081, allocations: 0 / 0.5717 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.4081, allocations: 5.234 kB / 0.5717 GB, free: 40.16 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.4081, allocations: 5.312 kB / 0.5717 GB, free: 40.16 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.038e-05/0.4081, allocations: 75.28 kB / 0.5718 GB, free: 40.08 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4082, allocations: 0 / 0.5718 GB, free: 40.08 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002004/0.4084, allocations: 4.031 kB / 0.5718 GB, free: 40.08 MB / 462.3 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.565e-05/0.4084, allocations: 104.5 kB / 0.5719 GB, free: 39.98 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.675e-05/0.4085, allocations: 10.81 kB / 0.5719 GB, free: 39.98 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4085, allocations: 0 / 0.5719 GB, free: 39.98 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.987e-06/0.4085, allocations: 8.547 kB / 0.5719 GB, free: 39.97 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.4087, allocations: 5.188 kB / 0.5719 GB, free: 39.97 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001319/0.4088, allocations: 82.52 kB / 0.572 GB, free: 39.87 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.4089, allocations: 0.6713 MB / 0.5726 GB, free: 39.17 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.11e-05/0.4089, allocations: 5.141 kB / 0.5726 GB, free: 39.17 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-06/0.4089, allocations: 8.5 kB / 0.5726 GB, free: 39.16 MB / 462.3 MB Notification: Performance of SimCode: time 2.9e-07/0.4089, allocations: 5 kB / 0.5726 GB, free: 39.16 MB / 462.3 MB Notification: Performance of Templates: time 0.001772/0.4107, allocations: 305.6 kB / 0.5729 GB, free: 38.99 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches