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.001298/0.001298, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.001295/0.001295, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.372/1.372, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9477/0.9477, allocations: 119.3 MB / 411.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 0.4909 GB, free: 14.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4956/0.4969, allocations: 80.69 MB / 0.5697 GB, free: 43.54 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001414/0.4984, allocations: 471.8 kB / 0.5701 GB, free: 43.2 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003657/0.4987, allocations: 165.4 kB / 0.5703 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.186e-05/0.4988, allocations: 0 / 0.5703 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.4988, allocations: 1.094 kB / 0.5703 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.4989, allocations: 4 kB / 0.5703 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.499, allocations: 11.38 kB / 0.5703 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.441e-05/0.499, allocations: 5.125 kB / 0.5703 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.4991, allocations: 2.219 kB / 0.5703 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.643e-05/0.4991, allocations: 1.156 kB / 0.5703 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.008e-05/0.4991, allocations: 1.062 kB / 0.5703 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.4991, allocations: 3.938 kB / 0.5703 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.312e-05/0.4992, allocations: 14.77 kB / 0.5703 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.4992, allocations: 4 kB / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.4992, allocations: 1.156 kB / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.021e-05/0.4993, allocations: 11.86 kB / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4993, allocations: 0 / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.32e-07/0.4993, allocations: 0 / 0.5703 GB, free: 43.05 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.4993, allocations: 0 / 0.5703 GB, free: 43.05 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.0001961/0.4995, allocations: 312.5 kB / 0.5706 GB, free: 42.7 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4995, allocations: 9.219 kB / 0.5707 GB, free: 42.7 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.4996, allocations: 0.9375 kB / 0.5707 GB, free: 42.7 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.85e-05/0.4996, allocations: 164.4 kB / 0.5708 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.4996, allocations: 5.719 kB / 0.5708 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.4997, allocations: 1.375 kB / 0.5708 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.631e-05/0.4997, allocations: 33.11 kB / 0.5709 GB, free: 42.46 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.4997, allocations: 192 / 0.5709 GB, free: 42.46 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.4998, allocations: 5.25 kB / 0.5709 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4998, allocations: 0 / 0.5709 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.89e-05/0.4998, allocations: 10.52 kB / 0.5709 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.592e-05/0.4999, allocations: 152.5 kB / 0.571 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.4999, allocations: 19.61 kB / 0.571 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.5, allocations: 15.45 kB / 0.571 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.5001, allocations: 85.41 kB / 0.5711 GB, free: 42.11 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.5002, allocations: 31.69 kB / 0.5712 GB, free: 42.07 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.5002, allocations: 0 / 0.5712 GB, free: 42.07 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001106/0.5003, allocations: 55.19 kB / 0.5712 GB, free: 42.02 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.5003, allocations: 51.41 kB / 0.5713 GB, free: 41.96 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.594e-05/0.5003, allocations: 93.98 kB / 0.5713 GB, free: 41.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-06/0.5003, allocations: 30.8 kB / 0.5714 GB, free: 41.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.078e-05/0.5004, allocations: 80.14 kB / 0.5715 GB, free: 41.74 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.5004, allocations: 5.031 kB / 0.5715 GB, free: 41.74 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.5004, allocations: 11.88 kB / 0.5715 GB, free: 41.72 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.5005, allocations: 316 kB / 0.5718 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.5005, allocations: 1.094 kB / 0.5718 GB, free: 41.41 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.5005, allocations: 6.203 kB / 0.5718 GB, free: 41.4 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.5005, allocations: 14.33 kB / 0.5718 GB, free: 41.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5005, allocations: 0 / 0.5718 GB, free: 41.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.84e-05/0.5006, allocations: 41.08 kB / 0.5718 GB, free: 41.35 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.5006, allocations: 5.438 kB / 0.5718 GB, free: 41.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5006, allocations: 1.062 kB / 0.5718 GB, free: 41.35 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.5006, allocations: 3.938 kB / 0.5718 GB, free: 41.35 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.633e-05/0.5007, allocations: 3.312 kB / 0.5718 GB, free: 41.35 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5007, allocations: 3.984 kB / 0.5718 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.5007, allocations: 3.031 kB / 0.5719 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.5007, allocations: 5.125 kB / 0.5719 GB, free: 41.34 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.784e-05/0.5008, allocations: 107.3 kB / 0.572 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.5008, allocations: 0 / 0.572 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.5009, allocations: 52.62 kB / 0.572 GB, free: 41.17 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5009, allocations: 4 kB / 0.572 GB, free: 41.17 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5009, allocations: 1.125 kB / 0.572 GB, free: 41.17 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.5009, allocations: 0 / 0.572 GB, free: 41.17 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.205e-05/0.5009, allocations: 148 kB / 0.5722 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5009, allocations: 4.031 kB / 0.5722 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.997e-05/0.501, allocations: 3.562 kB / 0.5722 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.501, allocations: 3.984 kB / 0.5722 GB, free: 40.97 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.501, allocations: 4.812 kB / 0.5722 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.501, allocations: 3.984 kB / 0.5722 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.501, allocations: 0.9375 kB / 0.5722 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.24e-05/0.501, allocations: 62.33 kB / 0.5722 GB, free: 40.89 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.5011, allocations: 77.11 kB / 0.5723 GB, free: 40.8 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.5011, allocations: 13.7 kB / 0.5723 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.5011, allocations: 3.938 kB / 0.5723 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.157e-05/0.5011, allocations: 5.281 kB / 0.5723 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.5011, allocations: 0 / 0.5723 GB, free: 40.78 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.256e-05/0.5011, allocations: 75.28 kB / 0.5724 GB, free: 40.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5011, allocations: 1.156 kB / 0.5724 GB, free: 40.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002038/0.5014, allocations: 2.469 kB / 0.5724 GB, free: 40.7 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 8.397e-05/0.5014, allocations: 109.2 kB / 0.5725 GB, free: 40.6 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.005e-05/0.5015, allocations: 14.77 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5015, allocations: 0 / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.498e-06/0.5015, allocations: 7.781 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.5017, allocations: 2.531 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001555/0.5018, allocations: 112.9 kB / 0.5726 GB, free: 40.45 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.95e-05/0.5019, allocations: 0.6747 MB / 0.5733 GB, free: 39.75 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.5019, allocations: 8.656 kB / 0.5733 GB, free: 39.74 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.5019, allocations: 128 / 0.5733 GB, free: 39.74 MB / 462.3 MB Notification: Performance of Templates: time 0.001533/0.5035, allocations: 432.2 kB / 0.5737 GB, free: 39.54 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/jenkins1/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