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.001431/0.001431, allocations: 112.7 kB / 17.68 MB, free: 5.473 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.001495/0.001495, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.36/1.36, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.034/1.034, allocations: 119.3 MB / 411.8 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001169, allocations: 67.89 kB / 0.4924 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.5576, allocations: 80.67 MB / 0.5711 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001957/0.5597, allocations: 407.5 kB / 0.5715 GB, free: 43.18 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0004144/0.5601, allocations: 167.7 kB / 0.5717 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.5601, allocations: 3.938 kB / 0.5717 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.5602, allocations: 0 / 0.5717 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.5602, allocations: 1.219 kB / 0.5717 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.5604, allocations: 7.156 kB / 0.5717 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.18e-05/0.5604, allocations: 2.281 kB / 0.5717 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.5605, allocations: 5.047 kB / 0.5717 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.667e-05/0.5605, allocations: 5.203 kB / 0.5717 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.5606, allocations: 5.062 kB / 0.5717 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.5606, allocations: 1.031 kB / 0.5717 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.662e-05/0.5606, allocations: 17.52 kB / 0.5717 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.5607, allocations: 5.281 kB / 0.5717 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.5607, allocations: 0 / 0.5717 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.027e-05/0.5608, allocations: 8.422 kB / 0.5717 GB, free: 43.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5608, allocations: 0.9375 kB / 0.5717 GB, free: 43.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5608, allocations: 0 / 0.5717 GB, free: 43.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.5608, allocations: 0 / 0.5717 GB, free: 43.02 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.0002139/0.561, allocations: 316.8 kB / 0.5721 GB, free: 42.66 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.561, allocations: 16.7 kB / 0.5721 GB, free: 42.65 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.5611, allocations: 0.9375 kB / 0.5721 GB, free: 42.65 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.519e-05/0.5611, allocations: 165.5 kB / 0.5722 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.5612, allocations: 384 / 0.5722 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.5612, allocations: 1.438 kB / 0.5722 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.249e-05/0.5613, allocations: 33.48 kB / 0.5723 GB, free: 42.42 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5613, allocations: 192 / 0.5723 GB, free: 42.42 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.5613, allocations: 4.969 kB / 0.5723 GB, free: 42.41 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.5613, allocations: 0 / 0.5723 GB, free: 42.41 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.994e-05/0.5613, allocations: 7.281 kB / 0.5723 GB, free: 42.41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.5614, allocations: 155.8 kB / 0.5724 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.5615, allocations: 24.2 kB / 0.5724 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.085e-05/0.5615, allocations: 6.922 kB / 0.5724 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.5617, allocations: 86.62 kB / 0.5725 GB, free: 42.08 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.5617, allocations: 31.62 kB / 0.5726 GB, free: 42.04 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5617, allocations: 4 kB / 0.5726 GB, free: 42.04 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001164/0.5619, allocations: 53.56 kB / 0.5726 GB, free: 41.98 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.5619, allocations: 52.31 kB / 0.5727 GB, free: 41.92 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.645e-05/0.5619, allocations: 89.86 kB / 0.5728 GB, free: 41.82 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/0.5619, allocations: 26.83 kB / 0.5728 GB, free: 41.79 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.095e-05/0.5619, allocations: 84.12 kB / 0.5729 GB, free: 41.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.562, allocations: 9 kB / 0.5729 GB, free: 41.7 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.562, allocations: 12.16 kB / 0.5729 GB, free: 41.68 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.562, allocations: 316 kB / 0.5732 GB, free: 41.37 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.5621, allocations: 1.188 kB / 0.5732 GB, free: 41.37 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.5621, allocations: 2.094 kB / 0.5732 GB, free: 41.37 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.175e-05/0.5621, allocations: 17.38 kB / 0.5732 GB, free: 41.35 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5621, allocations: 1.219 kB / 0.5732 GB, free: 41.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.073e-05/0.5622, allocations: 41.3 kB / 0.5732 GB, free: 41.31 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5622, allocations: 5.531 kB / 0.5732 GB, free: 41.31 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5622, allocations: 4.094 kB / 0.5732 GB, free: 41.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.5622, allocations: 3.938 kB / 0.5733 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.87e-05/0.5623, allocations: 3.375 kB / 0.5733 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5623, allocations: 1.156 kB / 0.5733 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.5623, allocations: 0 / 0.5733 GB, free: 41.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.5623, allocations: 5.047 kB / 0.5733 GB, free: 41.3 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.934e-05/0.5623, allocations: 107.8 kB / 0.5734 GB, free: 41.19 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.5624, allocations: 5.094 kB / 0.5734 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.932e-05/0.5625, allocations: 55.16 kB / 0.5734 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.5625, allocations: 4.984 kB / 0.5734 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5625, allocations: 0 / 0.5734 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.5625, allocations: 1.25 kB / 0.5734 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.634e-05/0.5625, allocations: 147.1 kB / 0.5736 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5625, allocations: 1.406 kB / 0.5736 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.5626, allocations: 2.531 kB / 0.5736 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.5626, allocations: 0 / 0.5736 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.5626, allocations: 9.188 kB / 0.5736 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.5626, allocations: 3.984 kB / 0.5736 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5626, allocations: 4.031 kB / 0.5736 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.436e-05/0.5627, allocations: 66.56 kB / 0.5737 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.5627, allocations: 77.11 kB / 0.5737 GB, free: 40.75 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.5627, allocations: 9.641 kB / 0.5737 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.195e-05/0.5627, allocations: 0 / 0.5737 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.5627, allocations: 1.656 kB / 0.5737 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.5627, allocations: 3.938 kB / 0.5737 GB, free: 40.74 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.145e-05/0.5627, allocations: 79.31 kB / 0.5738 GB, free: 40.66 MB / 462.3 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5627, allocations: 1.75 kB / 0.5738 GB, free: 40.66 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.00022/0.563, allocations: 2.719 kB / 0.5738 GB, free: 40.66 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 0.0001021/0.5631, allocations: 100.6 kB / 0.5739 GB, free: 40.56 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.487e-05/0.5632, allocations: 14.83 kB / 0.5739 GB, free: 40.55 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5632, allocations: 0 / 0.5739 GB, free: 40.55 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.5632, allocations: 3.906 kB / 0.5739 GB, free: 40.55 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.5633, allocations: 5.281 kB / 0.5739 GB, free: 40.55 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001711/0.5635, allocations: 89.56 kB / 0.574 GB, free: 40.45 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.581e-05/0.5636, allocations: 0.679 MB / 0.5747 GB, free: 39.74 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.88e-05/0.5636, allocations: 1.594 kB / 0.5747 GB, free: 39.74 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.5636, allocations: 9.062 kB / 0.5747 GB, free: 39.73 MB / 462.3 MB Notification: Performance of SimCode: time 3.11e-07/0.5636, allocations: 0 / 0.5747 GB, free: 39.73 MB / 462.3 MB Notification: Performance of Templates: time 0.00246/0.5661, allocations: 305.5 kB / 0.575 GB, free: 39.57 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches