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.0009313/0.0009314, allocations: 90.45 kB / 16.31 MB, free: 5.621 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.001033/0.001033, allocations: 183 kB / 17.21 MB, free: 5.535 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.282/1.282, allocations: 223.2 MB / 241.2 MB, free: 288 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8647/0.8647, allocations: 120.5 MB / 412.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 11.98 kB / 0.4943 GB, free: 11.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4719, allocations: 82.84 MB / 0.5752 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.0003491/0.4723, allocations: 112.5 kB / 0.5753 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.4726, allocations: 164.9 kB / 0.5754 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.4726, allocations: 1.094 kB / 0.5754 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.987e-06/0.4726, allocations: 0 / 0.5754 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.4727, allocations: 0 / 0.5754 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000104/0.4728, allocations: 10.88 kB / 0.5754 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.383e-05/0.4728, allocations: 2.344 kB / 0.5754 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.4729, allocations: 0 / 0.5754 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.402e-05/0.4729, allocations: 9.125 kB / 0.5754 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.4729, allocations: 1.281 kB / 0.5754 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.473, allocations: 1 kB / 0.5755 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-05/0.473, allocations: 13.86 kB / 0.5755 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-06/0.473, allocations: 1.312 kB / 0.5755 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.473, allocations: 25.7 kB / 0.5755 GB, free: 41.63 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 4.588e-05/0.4731, allocations: 7.328 kB / 0.5755 GB, free: 41.63 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4731, allocations: 0 / 0.5755 GB, free: 41.63 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4731, allocations: 0 / 0.5755 GB, free: 41.63 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.4731, allocations: 5.156 kB / 0.5755 GB, free: 41.62 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.0001603/0.4733, allocations: 317.8 kB / 0.5758 GB, free: 41.27 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.4733, allocations: 12.94 kB / 0.5758 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.094e-05/0.4734, allocations: 3.953 kB / 0.5758 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.336e-05/0.4734, allocations: 164.5 kB / 0.576 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.4734, allocations: 0 / 0.576 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.4734, allocations: 0.875 kB / 0.576 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.272e-05/0.4735, allocations: 36.47 kB / 0.576 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.4735, allocations: 1.344 kB / 0.576 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.4735, allocations: 0 / 0.576 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.4735, allocations: 0 / 0.576 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.683e-05/0.4736, allocations: 11.67 kB / 0.576 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.469e-05/0.4737, allocations: 155 kB / 0.5762 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.447e-05/0.4737, allocations: 24.02 kB / 0.5762 GB, free: 40.79 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.4737, allocations: 7.047 kB / 0.5762 GB, free: 40.78 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.4739, allocations: 86.09 kB / 0.5763 GB, free: 40.68 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.4739, allocations: 39.59 kB / 0.5763 GB, free: 40.64 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.4739, allocations: 0 / 0.5763 GB, free: 40.64 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001093/0.474, allocations: 39.2 kB / 0.5764 GB, free: 40.6 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.4741, allocations: 51.41 kB / 0.5764 GB, free: 40.54 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.375e-05/0.4741, allocations: 93.84 kB / 0.5765 GB, free: 40.44 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.4741, allocations: 26.64 kB / 0.5765 GB, free: 40.41 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-06/0.4741, allocations: 80.14 kB / 0.5766 GB, free: 40.32 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.4741, allocations: 4.938 kB / 0.5766 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.4741, allocations: 128 / 0.5766 GB, free: 40.32 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.669e-05/0.4742, allocations: 323.7 kB / 0.5769 GB, free: 40 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.4742, allocations: 2.188 kB / 0.5769 GB, free: 40 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.933e-06/0.4742, allocations: 1.688 kB / 0.5769 GB, free: 40 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.364e-05/0.4742, allocations: 7.062 kB / 0.5769 GB, free: 39.99 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4742, allocations: 0 / 0.5769 GB, free: 39.99 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.868e-05/0.4743, allocations: 41.09 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4743, allocations: 7.75 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.4743, allocations: 0 / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.679e-06/0.4743, allocations: 5.281 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-05/0.4744, allocations: 2.281 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.4744, allocations: 1.25 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.336e-05/0.4744, allocations: 1.969 kB / 0.577 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.4744, allocations: 0.7188 kB / 0.577 GB, free: 39.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.4745, allocations: 115 kB / 0.5771 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.4745, allocations: 1.25 kB / 0.5771 GB, free: 39.82 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.494e-05/0.4746, allocations: 52.53 kB / 0.5771 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4746, allocations: 0 / 0.5771 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4746, allocations: 3.938 kB / 0.5771 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.4746, allocations: 1.25 kB / 0.5771 GB, free: 39.77 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.752e-05/0.4746, allocations: 151.8 kB / 0.5773 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4746, allocations: 0 / 0.5773 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.91e-05/0.4747, allocations: 2.625 kB / 0.5773 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4747, allocations: 1.312 kB / 0.5773 GB, free: 39.57 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.4747, allocations: 8 kB / 0.5773 GB, free: 39.56 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4747, allocations: 1.156 kB / 0.5773 GB, free: 39.56 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4747, allocations: 0 / 0.5773 GB, free: 39.56 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.167e-05/0.4748, allocations: 77.45 kB / 0.5774 GB, free: 39.48 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.4748, allocations: 78.3 kB / 0.5775 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-06/0.4748, allocations: 0 / 0.5775 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.4748, allocations: 1.188 kB / 0.5775 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.4748, allocations: 1.406 kB / 0.5775 GB, free: 39.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.4748, allocations: 0 / 0.5775 GB, free: 39.38 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.034e-05/0.4748, allocations: 75.28 kB / 0.5775 GB, free: 39.31 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4748, allocations: 5.062 kB / 0.5775 GB, free: 39.3 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001933/0.475, allocations: 2.156 kB / 0.5775 GB, free: 39.3 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 (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 8.194e-05/0.4751, allocations: 98.36 kB / 0.5776 GB, free: 39.21 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.558e-05/0.4752, allocations: 10.44 kB / 0.5776 GB, free: 39.21 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4752, allocations: 0 / 0.5776 GB, free: 39.21 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.4752, allocations: 7.219 kB / 0.5776 GB, free: 39.2 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.4754, allocations: 5.016 kB / 0.5776 GB, free: 39.2 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001431/0.4755, allocations: 94.78 kB / 0.5777 GB, free: 39.09 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.93e-05/0.4756, allocations: 0.6715 MB / 0.5784 GB, free: 38.39 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.092e-05/0.4756, allocations: 1.156 kB / 0.5784 GB, free: 38.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.11e-05/0.4756, allocations: 8.562 kB / 0.5784 GB, free: 38.38 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4756, allocations: 0 / 0.5784 GB, free: 38.38 MB / 462.3 MB Notification: Performance of Templates: time 0.001746/0.4774, allocations: 297.3 kB / 0.5787 GB, free: 38.22 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