Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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.001568/0.001568, allocations: 115.2 kB / 17.74 MB, free: 5.355 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.001975/0.001976, allocations: 185.3 kB / 20.68 MB, free: 2.418 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.455/1.455, allocations: 222.9 MB / 246.4 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] 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.8734/0.8734, allocations: 119.3 MB / 417.9 MB, free: 12.02 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.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.1.|Qh.20.|Qh.2.|Qh.3.|Que.1.|Que.20.|Que.2.|Que.3.|Tu.1.|Tu.20.|Tu.2.|Tu.3.|der.Tu.1..|der.Tu.20..|der.Tu.2..|der.Tu.3..|der.x.1..|der.x.20..|der.x.2..|der.x.3..|time|time|u.1.|u.20.|u.2.|u.3.|x.1.|x.20.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 55.91 kB / 0.5809 GB, free: 11.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5776/0.5796, allocations: 80.7 MB / 0.6597 GB, free: 13.76 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.002064/0.5817, allocations: 1.394 MB / 0.661 GB, free: 12.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000761/0.5825, allocations: 0.5139 MB / 0.6615 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.5825, allocations: 0.9062 kB / 0.6615 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.646e-05/0.5826, allocations: 12.83 kB / 0.6615 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.5829, allocations: 50.52 kB / 0.6616 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.583, allocations: 42.03 kB / 0.6616 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.5835, allocations: 0.5527 MB / 0.6622 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.5835, allocations: 6.656 kB / 0.6622 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.5838, allocations: 202.4 kB / 0.6624 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003666/0.5842, allocations: 284.5 kB / 0.6626 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.625e-05/0.5842, allocations: 28.97 kB / 0.6627 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.5844, allocations: 48.92 kB / 0.6627 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.5846, allocations: 234.5 kB / 0.6629 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.5848, allocations: 238.6 kB / 0.6632 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.5852, allocations: 438.5 kB / 0.6636 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5852, allocations: 5.266 kB / 0.6636 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5852, allocations: 0 / 0.6636 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.5852, allocations: 0 / 0.6636 GB, free: 11.07 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001568/0.5868, allocations: 0.8278 MB / 0.6644 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5868, allocations: 12.7 kB / 0.6644 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.587, allocations: 48.66 kB / 0.6645 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.5873, allocations: 331.8 kB / 0.6648 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.5873, allocations: 29.44 kB / 0.6648 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-05/0.5874, allocations: 68.64 kB / 0.6649 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000873/0.5883, allocations: 0.582 MB / 0.6654 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5883, allocations: 0 / 0.6654 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.5884, allocations: 15.81 kB / 0.6655 GB, free: 9.723 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.5884, allocations: 14.08 kB / 0.6655 GB, free: 9.719 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.5892, allocations: 0.5902 MB / 0.666 GB, free: 9.48 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007139/0.59, allocations: 0.6107 MB / 0.6666 GB, free: 9.031 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.5931, allocations: 1.365 MB / 0.668 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/0.5937, allocations: 456 kB / 0.6684 GB, free: 8.219 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002002/0.5939, allocations: 99.48 kB / 0.6685 GB, free: 8.117 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.5939, allocations: 48.19 kB / 0.6685 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=103): time 2.464e-06/0.5939, allocations: 0 / 0.6685 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of matching and sorting (n=103): time 0.002074/0.596, allocations: 1.351 MB / 0.6699 GB, free: 7.461 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.5961, allocations: 62.38 kB / 0.6699 GB, free: 7.395 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.5962, allocations: 172.9 kB / 0.6701 GB, free: 7.262 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.5963, allocations: 44.7 kB / 0.6701 GB, free: 7.215 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.5963, allocations: 107.3 kB / 0.6702 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.5965, allocations: 425.8 kB / 0.6706 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002554/0.5968, allocations: 202.9 kB / 0.6708 GB, free: 6.621 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.5969, allocations: 368.2 kB / 0.6712 GB, free: 6.27 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/0.5975, allocations: 470.1 kB / 0.6716 GB, free: 6.066 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.5982, allocations: 493.3 kB / 0.6721 GB, free: 5.848 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.5996, allocations: 1.04 MB / 0.6731 GB, free: 5.367 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5996, allocations: 0 / 0.6731 GB, free: 5.367 MB / 0.4983 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001695/0.6013, allocations: 1.248 MB / 0.6743 GB, free: 4.797 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6013, allocations: 5.5 kB / 0.6743 GB, free: 4.797 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6013, allocations: 0 / 0.6743 GB, free: 4.797 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.6014, allocations: 5.5 kB / 0.6744 GB, free: 4.797 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009991/0.6024, allocations: 270.2 kB / 0.6746 GB, free: 4.742 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.6024, allocations: 5.5 kB / 0.6746 GB, free: 4.742 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.6028, allocations: 81.14 kB / 0.6747 GB, free: 4.676 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-05/0.6029, allocations: 38.11 kB / 0.6747 GB, free: 4.664 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 (144): * Single equations (assignments): 144 * 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 0.0002226/0.6031, allocations: 213.3 kB / 0.6749 GB, free: 4.484 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-05/0.6032, allocations: 47.09 kB / 0.675 GB, free: 4.461 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.6053, allocations: 1.395 MB / 0.6763 GB, free: 3.734 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.6053, allocations: 17.75 kB / 0.6764 GB, free: 3.73 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6053, allocations: 0 / 0.6764 GB, free: 3.73 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6053, allocations: 4.922 kB / 0.6764 GB, free: 3.727 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.6062, allocations: 0.7454 MB / 0.6771 GB, free: 3.191 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6062, allocations: 0 / 0.6771 GB, free: 3.191 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.6076, allocations: 308.8 kB / 0.6774 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.6076, allocations: 5.5 kB / 0.6774 GB, free: 3.129 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-05/0.6077, allocations: 52.27 kB / 0.6774 GB, free: 3.098 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.6077, allocations: 8.594 kB / 0.6774 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6077, allocations: 0 / 0.6774 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.6101, allocations: 1.861 MB / 0.6793 GB, free: 2.215 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.6105, allocations: 256.2 kB / 0.6795 GB, free: 2.016 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.6106, allocations: 43.62 kB / 0.6795 GB, free: 1.988 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.611, allocations: 20.62 kB / 0.6796 GB, free: 1.973 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6111, allocations: 78.7 kB / 0.6796 GB, free: 1.934 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.693e-05/0.6112, allocations: 46.27 kB / 0.6797 GB, free: 1.906 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 7.535e-05/0.6113, allocations: 136.3 kB / 0.6798 GB, free: 1.773 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6113, allocations: 0 / 0.6798 GB, free: 1.773 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0004657/0.6118, allocations: 236 kB / 0.68 GB, free: 1.543 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],Tu[11],Tu[12],Tu[13],Tu[14],Tu[15],Tu[16],Tu[17],Tu[18],Tu[19],Tu[20],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20]) * 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 (144): * Single equations (assignments): 144 * 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.0001972/0.612, allocations: 162.9 kB / 0.6802 GB, free: 1.375 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.6133, allocations: 1.155 MB / 0.6813 GB, free: 224 kB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6134, allocations: 0 / 0.6813 GB, free: 224 kB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0008673/0.6142, allocations: 0.6358 MB / 0.6819 GB, free: 15.59 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.6147, allocations: 108.3 kB / 0.6821 GB, free: 15.48 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004371/0.6191, allocations: 2.854 MB / 0.6848 GB, free: 12.6 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.6197, allocations: 0.9164 MB / 0.6857 GB, free: 11.65 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0008576/0.6206, allocations: 372.8 kB / 0.6861 GB, free: 11.29 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/0.6209, allocations: 87.41 kB / 0.6862 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of SimCode: time 5.81e-07/0.6209, allocations: 0 / 0.6862 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of Templates: time 0.01866/0.6396, allocations: 9.994 MB / 0.6959 GB, free: 1.258 MB / 0.5139 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.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: 11.732255049049854]