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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 116.9 kB / 18.41 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 186.9 kB / 21.34 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 247 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8307/0.8307, allocations: 119.3 MB / 418.5 MB, free: 12.13 MB / 350.1 MB " [Timeout remaining time 179] 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=49999,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=49999,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 68.08 kB / 0.5801 GB, free: 12.76 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.532/0.5339, allocations: 80.69 MB / 0.6589 GB, free: 13.49 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001317/0.5353, allocations: 395.7 kB / 0.6592 GB, free: 13.19 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.5356, allocations: 172.6 kB / 0.6594 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.5356, allocations: 0 / 0.6594 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.5357, allocations: 0 / 0.6594 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.5357, allocations: 5.156 kB / 0.6594 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.5359, allocations: 16.25 kB / 0.6594 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 3.93e-05/0.5359, allocations: 5.406 kB / 0.6594 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.536, allocations: 1.406 kB / 0.6594 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.536, allocations: 1.531 kB / 0.6594 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.536, allocations: 0 / 0.6594 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.536, allocations: 1.469 kB / 0.6594 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.396e-05/0.5361, allocations: 14.92 kB / 0.6594 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.5361, allocations: 0 / 0.6594 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.5361, allocations: 3.938 kB / 0.6594 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 7.223e-05/0.5362, allocations: 21.03 kB / 0.6595 GB, free: 13.03 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5362, allocations: 4 kB / 0.6595 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5362, allocations: 0 / 0.6595 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.5362, allocations: 0 / 0.6595 GB, free: 13.02 MB / 0.4983 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.0001956/0.5364, allocations: 311.4 kB / 0.6598 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.5365, allocations: 14.67 kB / 0.6598 GB, free: 12.67 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.5365, allocations: 4.891 kB / 0.6598 GB, free: 12.66 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.201e-05/0.5366, allocations: 160.4 kB / 0.6599 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.5366, allocations: 2.156 kB / 0.6599 GB, free: 12.47 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.5366, allocations: 4.375 kB / 0.6599 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.251e-05/0.5367, allocations: 41.78 kB / 0.66 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5367, allocations: 192 / 0.66 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.5367, allocations: 3.938 kB / 0.66 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.5367, allocations: 1.844 kB / 0.66 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.694e-05/0.5367, allocations: 1.75 kB / 0.66 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.4e-05/0.5368, allocations: 151 kB / 0.6601 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 3.393e-05/0.5369, allocations: 23.97 kB / 0.6602 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.5369, allocations: 12.42 kB / 0.6602 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.5371, allocations: 86.47 kB / 0.6603 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.5371, allocations: 34.56 kB / 0.6603 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5371, allocations: 7.875 kB / 0.6603 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001138/0.5372, allocations: 39.3 kB / 0.6603 GB, free: 12 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.5372, allocations: 51.41 kB / 0.6604 GB, free: 11.94 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.421e-05/0.5373, allocations: 93.98 kB / 0.6605 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.5373, allocations: 25.7 kB / 0.6605 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.867e-06/0.5373, allocations: 86.33 kB / 0.6606 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.5373, allocations: 7.891 kB / 0.6606 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.5373, allocations: 15.36 kB / 0.6606 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 3.442e-05/0.5374, allocations: 312.4 kB / 0.6609 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.5374, allocations: 1.312 kB / 0.6609 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-06/0.5374, allocations: 6.656 kB / 0.6609 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.383e-05/0.5374, allocations: 16.92 kB / 0.6609 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5374, allocations: 0 / 0.6609 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.579e-05/0.5375, allocations: 42.47 kB / 0.661 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.5375, allocations: 8.031 kB / 0.661 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5375, allocations: 0 / 0.661 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5375, allocations: 3.938 kB / 0.661 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.44e-05/0.5376, allocations: 1.281 kB / 0.661 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.5376, allocations: 0 / 0.661 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.5376, allocations: 0 / 0.661 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.5376, allocations: 5.812 kB / 0.661 GB, free: 11.31 MB / 0.4983 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.5377, allocations: 107.6 kB / 0.6611 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.572e-06/0.5377, allocations: 1.094 kB / 0.6611 GB, free: 11.2 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8e-05/0.5378, allocations: 51.34 kB / 0.6611 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.5378, allocations: 1.031 kB / 0.6611 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.5378, allocations: 0 / 0.6611 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.5378, allocations: 1.594 kB / 0.6611 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.453e-05/0.5378, allocations: 151 kB / 0.6613 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5378, allocations: 4.031 kB / 0.6613 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.5379, allocations: 3.219 kB / 0.6613 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5379, allocations: 1.188 kB / 0.6613 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.5379, allocations: 11.92 kB / 0.6613 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5379, allocations: 1.594 kB / 0.6613 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5379, allocations: 0 / 0.6613 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.268e-05/0.5379, allocations: 65.78 kB / 0.6614 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.538, allocations: 81.14 kB / 0.6614 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.538, allocations: 9.25 kB / 0.6614 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.065e-05/0.538, allocations: 0 / 0.6614 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.538, allocations: 1.156 kB / 0.6614 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.538, allocations: 1.031 kB / 0.6614 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 1.721e-05/0.538, allocations: 75.28 kB / 0.6615 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.538, allocations: 0 / 0.6615 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001929/0.5382, allocations: 3.781 kB / 0.6615 GB, free: 10.68 MB / 0.4983 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 (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.385e-05/0.5383, allocations: 101.8 kB / 0.6616 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.5384, allocations: 13.69 kB / 0.6616 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5384, allocations: 1.219 kB / 0.6616 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.5384, allocations: 7.812 kB / 0.6616 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.5386, allocations: 5.219 kB / 0.6616 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001589/0.5387, allocations: 114.1 kB / 0.6618 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.79e-05/0.5388, allocations: 0.675 MB / 0.6624 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.345e-05/0.5388, allocations: 8.406 kB / 0.6624 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of SimCode: time 2.2e-07/0.5388, allocations: 5.344 kB / 0.6624 GB, free: 9.723 MB / 0.4983 GB Notification: Performance of Templates: time 0.001669/0.5405, allocations: 439.8 kB / 0.6628 GB, free: 9.512 MB / 0.4983 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile [Timeout 300] (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) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9792895920109]