Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001531/0.001531, allocations: 99.66 kB / 16.5 MB, free: 6.695 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.001601/0.001601, allocations: 197.5 kB / 17.42 MB, free: 6.086 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.002/1.002, allocations: 119.3 MB / 410.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.91 kB / 0.4903 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5488, allocations: 80.67 MB / 0.5691 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001514/0.5504, allocations: 465.5 kB / 0.5695 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003753/0.5508, allocations: 165 kB / 0.5697 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.5508, allocations: 4 kB / 0.5697 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.5508, allocations: 5.031 kB / 0.5697 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.5509, allocations: 0 / 0.5697 GB, free: 42.53 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.551, allocations: 15.17 kB / 0.5697 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.461e-05/0.5511, allocations: 2.156 kB / 0.5697 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.5511, allocations: 1.094 kB / 0.5697 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.5511, allocations: 1.094 kB / 0.5697 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.183e-05/0.5512, allocations: 1 kB / 0.5697 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.5512, allocations: 3.938 kB / 0.5697 GB, free: 42.51 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.5512, allocations: 14.67 kB / 0.5697 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.5513, allocations: 5.094 kB / 0.5697 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.5513, allocations: 3.984 kB / 0.5697 GB, free: 42.5 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.884e-05/0.5514, allocations: 8.391 kB / 0.5697 GB, free: 42.49 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5514, allocations: 1.094 kB / 0.5697 GB, free: 42.49 MB / 462.3 MB Notification: Performance of FrontEnd: time 9.12e-07/0.5514, allocations: 0 / 0.5697 GB, free: 42.49 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.5514, allocations: 0 / 0.5697 GB, free: 42.49 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.0002243/0.5516, allocations: 319.8 kB / 0.57 GB, free: 42.13 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5517, allocations: 9.688 kB / 0.57 GB, free: 42.13 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.5517, allocations: 0.9375 kB / 0.57 GB, free: 42.13 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.25e-05/0.5518, allocations: 165.5 kB / 0.5702 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.5518, allocations: 384 / 0.5702 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.5518, allocations: 1.469 kB / 0.5702 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.955e-05/0.5519, allocations: 45.45 kB / 0.5702 GB, free: 41.89 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5519, allocations: 192 / 0.5702 GB, free: 41.89 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.5519, allocations: 5 kB / 0.5702 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5519, allocations: 0 / 0.5702 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.001e-05/0.5519, allocations: 7.25 kB / 0.5702 GB, free: 41.88 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.552, allocations: 148 kB / 0.5704 GB, free: 41.69 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.975e-05/0.5521, allocations: 26.75 kB / 0.5704 GB, free: 41.66 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.5521, allocations: 7.391 kB / 0.5704 GB, free: 41.65 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.5523, allocations: 82.7 kB / 0.5705 GB, free: 41.55 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.5523, allocations: 39.61 kB / 0.5705 GB, free: 41.51 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.5523, allocations: 0 / 0.5705 GB, free: 41.51 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.5525, allocations: 46.14 kB / 0.5706 GB, free: 41.46 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.5525, allocations: 52.53 kB / 0.5706 GB, free: 41.4 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.745e-05/0.5525, allocations: 89.86 kB / 0.5707 GB, free: 41.3 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.5525, allocations: 26.83 kB / 0.5707 GB, free: 41.27 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.097e-05/0.5525, allocations: 80.14 kB / 0.5708 GB, free: 41.19 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.5526, allocations: 8.969 kB / 0.5708 GB, free: 41.18 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.5526, allocations: 15.89 kB / 0.5708 GB, free: 41.16 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.5527, allocations: 311.7 kB / 0.5711 GB, free: 40.85 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.5527, allocations: 5.25 kB / 0.5711 GB, free: 40.85 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.5527, allocations: 10.12 kB / 0.5712 GB, free: 40.84 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/0.5527, allocations: 14.27 kB / 0.5712 GB, free: 40.83 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5527, allocations: 0 / 0.5712 GB, free: 40.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.931e-05/0.5528, allocations: 38.2 kB / 0.5712 GB, free: 40.79 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5528, allocations: 9.391 kB / 0.5712 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5528, allocations: 0 / 0.5712 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.5528, allocations: 5.031 kB / 0.5712 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/0.5529, allocations: 2.312 kB / 0.5712 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5529, allocations: 5.344 kB / 0.5712 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.318e-05/0.5529, allocations: 1.969 kB / 0.5712 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.5529, allocations: 1.469 kB / 0.5712 GB, free: 40.78 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 4.523e-05/0.553, allocations: 107.2 kB / 0.5713 GB, free: 40.67 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.553, allocations: 7.938 kB / 0.5713 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.5531, allocations: 48.62 kB / 0.5714 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5531, allocations: 1.125 kB / 0.5714 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5531, allocations: 4.031 kB / 0.5714 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.5531, allocations: 0 / 0.5714 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.479e-05/0.5531, allocations: 151.8 kB / 0.5715 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5532, allocations: 1.125 kB / 0.5715 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.5532, allocations: 2.5 kB / 0.5715 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5532, allocations: 3.938 kB / 0.5715 GB, free: 40.41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.5532, allocations: 4.906 kB / 0.5715 GB, free: 40.4 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5532, allocations: 1.125 kB / 0.5715 GB, free: 40.4 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5532, allocations: 0 / 0.5715 GB, free: 40.4 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.659e-05/0.5533, allocations: 74.22 kB / 0.5716 GB, free: 40.32 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.5533, allocations: 77.11 kB / 0.5717 GB, free: 40.23 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.5533, allocations: 5 kB / 0.5717 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.5533, allocations: 0 / 0.5717 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.5533, allocations: 1.156 kB / 0.5717 GB, free: 40.22 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.5533, allocations: 1 kB / 0.5717 GB, free: 40.22 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.32e-05/0.5534, allocations: 75.28 kB / 0.5718 GB, free: 40.15 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5534, allocations: 0.8438 kB / 0.5718 GB, free: 40.15 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002035/0.5536, allocations: 2.688 kB / 0.5718 GB, free: 40.15 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 9.349e-05/0.5537, allocations: 106.4 kB / 0.5719 GB, free: 40.05 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.722e-05/0.5537, allocations: 9.688 kB / 0.5719 GB, free: 40.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5538, allocations: 1.375 kB / 0.5719 GB, free: 40.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.5538, allocations: 7.531 kB / 0.5719 GB, free: 40.04 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.5539, allocations: 5.219 kB / 0.5719 GB, free: 40.04 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001748/0.5541, allocations: 86.69 kB / 0.572 GB, free: 39.93 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.5542, allocations: 0.6744 MB / 0.5726 GB, free: 39.23 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.136e-05/0.5542, allocations: 6.344 kB / 0.5726 GB, free: 39.23 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.5542, allocations: 8.531 kB / 0.5727 GB, free: 39.22 MB / 462.3 MB Notification: Performance of SimCode: time 3.1e-07/0.5543, allocations: 3.938 kB / 0.5727 GB, free: 39.21 MB / 462.3 MB Notification: Performance of Templates: time 0.001989/0.5562, allocations: 307.7 kB / 0.5729 GB, free: 39.05 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches