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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008289/0.0008288, allocations: 171.8 kB / 17.39 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007281/0.0007281, allocations: 82.36 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7102/0.7102, allocations: 120.4 MB / 440.6 MB, free: 4.074 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 12 kB / 0.5188 GB, free: 57.25 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1059, allocations: 80 MB / 0.5969 GB, free: 9.133 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5393/0.6452, allocations: 124.3 MB / 0.7184 GB, free: 18.81 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001171/0.6454, allocations: 46.52 kB / 0.7184 GB, free: 18.81 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.001049/0.6464, allocations: 0.5469 MB / 0.7189 GB, free: 18.47 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6464, allocations: 0 / 0.7189 GB, free: 18.47 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.6464, allocations: 1.094 kB / 0.7189 GB, free: 18.47 MB / 0.4953 GB 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.0001438/0.6466, allocations: 317.2 kB / 0.7192 GB, free: 18.12 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.6466, allocations: 9.312 kB / 0.7192 GB, free: 18.12 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.6467, allocations: 0.9375 kB / 0.7192 GB, free: 18.12 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.918e-05/0.6467, allocations: 171.6 kB / 0.7194 GB, free: 17.92 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.6467, allocations: 4.156 kB / 0.7194 GB, free: 17.92 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.6467, allocations: 384 / 0.7194 GB, free: 17.92 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.075e-05/0.6468, allocations: 36.66 kB / 0.7194 GB, free: 17.89 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.6468, allocations: 192 / 0.7194 GB, free: 17.89 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.6468, allocations: 3.938 kB / 0.7195 GB, free: 17.88 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.6468, allocations: 0 / 0.7195 GB, free: 17.88 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.6469, allocations: 7.656 kB / 0.7195 GB, free: 17.88 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.159e-05/0.647, allocations: 144.6 kB / 0.7196 GB, free: 17.7 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 3.039e-05/0.647, allocations: 29.95 kB / 0.7196 GB, free: 17.67 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.378e-05/0.647, allocations: 8.859 kB / 0.7196 GB, free: 17.66 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.6472, allocations: 87.52 kB / 0.7197 GB, free: 17.56 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.6472, allocations: 32.69 kB / 0.7197 GB, free: 17.52 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6472, allocations: 0 / 0.7197 GB, free: 17.52 MB / 0.4953 GB Notification: Performance of matching and sorting (n=2): time 0.0001004/0.6473, allocations: 43.73 kB / 0.7198 GB, free: 17.49 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.6473, allocations: 55.25 kB / 0.7198 GB, free: 17.43 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.432e-05/0.6473, allocations: 93.98 kB / 0.7199 GB, free: 17.32 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.6473, allocations: 25.7 kB / 0.72 GB, free: 17.29 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 9.187e-06/0.6474, allocations: 82.81 kB / 0.72 GB, free: 17.21 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.6474, allocations: 12.28 kB / 0.72 GB, free: 17.2 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-06/0.6474, allocations: 0 / 0.72 GB, free: 17.2 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.6474, allocations: 310.8 kB / 0.7203 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-06/0.6474, allocations: 3.844 kB / 0.7203 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.6475, allocations: 0 / 0.7203 GB, free: 16.89 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.289e-05/0.6475, allocations: 19.08 kB / 0.7204 GB, free: 16.88 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6475, allocations: 3.844 kB / 0.7204 GB, free: 16.88 MB / 0.4953 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.037e-05/0.6475, allocations: 37.33 kB / 0.7204 GB, free: 16.84 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.6475, allocations: 3.844 kB / 0.7204 GB, free: 16.84 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.6476, allocations: 0 / 0.7204 GB, free: 16.84 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.6476, allocations: 5.953 kB / 0.7204 GB, free: 16.84 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.269e-05/0.6476, allocations: 7.781 kB / 0.7204 GB, free: 16.84 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6476, allocations: 0 / 0.7204 GB, free: 16.84 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.6476, allocations: 0 / 0.7204 GB, free: 16.84 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-06/0.6477, allocations: 3.938 kB / 0.7204 GB, free: 16.83 MB / 0.4953 GB 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.632e-05/0.6477, allocations: 117.3 kB / 0.7205 GB, free: 16.71 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-06/0.6477, allocations: 2.531 kB / 0.7205 GB, free: 16.71 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.144e-05/0.6478, allocations: 50.97 kB / 0.7206 GB, free: 16.67 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.6478, allocations: 0 / 0.7206 GB, free: 16.67 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6478, allocations: 0 / 0.7206 GB, free: 16.67 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.6478, allocations: 0 / 0.7206 GB, free: 16.67 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.432e-05/0.6479, allocations: 147.9 kB / 0.7207 GB, free: 16.48 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.6479, allocations: 0 / 0.7207 GB, free: 16.48 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.6479, allocations: 7.812 kB / 0.7207 GB, free: 16.48 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.6479, allocations: 0 / 0.7207 GB, free: 16.48 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.6479, allocations: 4.688 kB / 0.7207 GB, free: 16.48 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6479, allocations: 3.938 kB / 0.7207 GB, free: 16.47 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6479, allocations: 0 / 0.7207 GB, free: 16.47 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.627e-05/0.648, allocations: 66.95 kB / 0.7208 GB, free: 16.41 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.648, allocations: 87.39 kB / 0.7209 GB, free: 16.31 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.648, allocations: 3.938 kB / 0.7209 GB, free: 16.3 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.648, allocations: 8.031 kB / 0.7209 GB, free: 16.3 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.648, allocations: 0 / 0.7209 GB, free: 16.3 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.648, allocations: 3.781 kB / 0.7209 GB, free: 16.3 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 1.011e-05/0.648, allocations: 75.28 kB / 0.721 GB, free: 16.22 MB / 0.4953 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6481, allocations: 0 / 0.721 GB, free: 16.22 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.0001848/0.6482, allocations: 7.938 kB / 0.721 GB, free: 16.22 MB / 0.4953 GB 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 7.707e-05/0.6483, allocations: 97.5 kB / 0.7211 GB, free: 16.13 MB / 0.4953 GB Notification: Performance of simCode: created initialization part: time 5.148e-05/0.6484, allocations: 19.09 kB / 0.7211 GB, free: 16.12 MB / 0.4953 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.6484, allocations: 0 / 0.7211 GB, free: 16.12 MB / 0.4953 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-06/0.6484, allocations: 6.516 kB / 0.7211 GB, free: 16.12 MB / 0.4953 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001226/0.6485, allocations: 0 / 0.7211 GB, free: 16.12 MB / 0.4953 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001426/0.6487, allocations: 86.95 kB / 0.7212 GB, free: 16.02 MB / 0.4953 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.583e-05/0.6488, allocations: 0.6757 MB / 0.7218 GB, free: 15.32 MB / 0.4953 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.6488, allocations: 4.906 kB / 0.7219 GB, free: 15.32 MB / 0.4953 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.6488, allocations: 11.28 kB / 0.7219 GB, free: 15.31 MB / 0.4953 GB Notification: Performance of SimCode: time 2.5e-07/0.6488, allocations: 0 / 0.7219 GB, free: 15.31 MB / 0.4953 GB Notification: Performance of Templates: time 0.001574/0.6504, allocations: 269.3 kB / 0.7221 GB, free: 15.25 MB / 0.4953 GB 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