Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.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.001186/0.001186, allocations: 115.4 kB / 18.41 MB, free: 4.652 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.001256/0.001256, allocations: 192.3 kB / 21.35 MB, free: 1.723 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.367/1.367, allocations: 222.9 MB / 247.1 MB, free: 4.191 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.8075/0.8075, allocations: 119.3 MB / 418.5 MB, free: 11.99 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_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=21600,variableFilter="Qh.10.|Qh.1.|Qh.2.|Qh.3.|Que.10.|Que.1.|Que.2.|Que.3.|Tu.10.|Tu.1.|Tu.2.|Tu.3.|der.Tu.10..|der.Tu.1..|der.Tu.2..|der.Tu.3..|der.x.10..|der.x.1..|der.x.2..|der.x.3..|time|time|u.10.|u.1.|u.2.|u.3.|x.10.|x.1.|x.2.|x.3.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.89 kB / 0.5815 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5396, allocations: 80.69 MB / 0.6603 GB, free: 13.88 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.002192/0.5418, allocations: 1.392 MB / 0.6617 GB, free: 12.77 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008546/0.5427, allocations: 0.5217 MB / 0.6622 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.5428, allocations: 0.9375 kB / 0.6622 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 9.21e-05/0.5429, allocations: 8.828 kB / 0.6622 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.5431, allocations: 50.53 kB / 0.6623 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.5433, allocations: 42 kB / 0.6623 GB, free: 12.29 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.5436, allocations: 315.8 kB / 0.6626 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.5436, allocations: 9.719 kB / 0.6626 GB, free: 12.12 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.5438, allocations: 115.4 kB / 0.6627 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.544, allocations: 160.2 kB / 0.6629 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.427e-05/0.5441, allocations: 14.75 kB / 0.6629 GB, free: 11.97 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.5442, allocations: 42.7 kB / 0.6629 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.5443, allocations: 120.4 kB / 0.663 GB, free: 11.89 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.5445, allocations: 131.3 kB / 0.6632 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.5447, allocations: 244.5 kB / 0.6634 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5447, allocations: 0 / 0.6634 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5447, allocations: 0 / 0.6634 GB, free: 11.67 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.5447, allocations: 1.156 kB / 0.6634 GB, free: 11.67 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009384/0.5457, allocations: 0.5829 MB / 0.664 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.5457, allocations: 16.89 kB / 0.664 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.5458, allocations: 33.5 kB / 0.664 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.546, allocations: 252.7 kB / 0.6643 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.546, allocations: 13.25 kB / 0.6643 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.5461, allocations: 36.38 kB / 0.6643 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.5466, allocations: 312.9 kB / 0.6646 GB, free: 10.69 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5466, allocations: 3.984 kB / 0.6646 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.5466, allocations: 6.5 kB / 0.6646 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5467, allocations: 5.062 kB / 0.6646 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.5471, allocations: 295.5 kB / 0.6649 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.5475, allocations: 399.9 kB / 0.6653 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.5492, allocations: 0.6679 MB / 0.6659 GB, free: 9.938 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.5495, allocations: 231 kB / 0.6662 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.5497, allocations: 102.3 kB / 0.6663 GB, free: 9.723 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.5497, allocations: 38.09 kB / 0.6663 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=53): time 1.673e-06/0.5498, allocations: 0 / 0.6663 GB, free: 9.68 MB / 0.4983 GB Notification: Performance of matching and sorting (n=53): time 0.001156/0.5509, allocations: 0.6954 MB / 0.667 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.551, allocations: 65.36 kB / 0.667 GB, free: 9.285 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5511, allocations: 147.4 kB / 0.6672 GB, free: 9.156 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.5511, allocations: 32.08 kB / 0.6672 GB, free: 9.121 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.5511, allocations: 101 kB / 0.6673 GB, free: 9.02 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.5513, allocations: 219.5 kB / 0.6675 GB, free: 8.828 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.5514, allocations: 105.4 kB / 0.6676 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.5515, allocations: 340.2 kB / 0.6679 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.5519, allocations: 236.9 kB / 0.6682 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.5523, allocations: 246.4 kB / 0.6684 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008422/0.5532, allocations: 0.5362 MB / 0.6689 GB, free: 7.969 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5532, allocations: 0 / 0.6689 GB, free: 7.969 MB / 0.4983 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001076/0.5542, allocations: 0.6436 MB / 0.6696 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5543, allocations: 4.75 kB / 0.6696 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.5543, allocations: 1.094 kB / 0.6696 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.5543, allocations: 2.375 kB / 0.6696 GB, free: 7.668 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.5549, allocations: 143.4 kB / 0.6697 GB, free: 7.637 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.5549, allocations: 6.328 kB / 0.6697 GB, free: 7.633 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.5551, allocations: 46.41 kB / 0.6697 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.5551, allocations: 22.91 kB / 0.6698 GB, free: 7.586 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 (74): * Single equations (assignments): 74 * 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.0001489/0.5553, allocations: 162.2 kB / 0.6699 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.5553, allocations: 23.89 kB / 0.6699 GB, free: 7.426 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.5566, allocations: 0.7236 MB / 0.6707 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.5566, allocations: 15.36 kB / 0.6707 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.5566, allocations: 5.125 kB / 0.6707 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.5566, allocations: 0 / 0.6707 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.5571, allocations: 462.8 kB / 0.6711 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.5571, allocations: 5.219 kB / 0.6711 GB, free: 6.66 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/0.5578, allocations: 153.5 kB / 0.6713 GB, free: 6.633 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.5579, allocations: 6.844 kB / 0.6713 GB, free: 6.629 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.5579, allocations: 26.97 kB / 0.6713 GB, free: 6.613 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.5579, allocations: 6.469 kB / 0.6713 GB, free: 6.609 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5579, allocations: 3.938 kB / 0.6713 GB, free: 6.605 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.5591, allocations: 0.9669 MB / 0.6723 GB, free: 6.125 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.5593, allocations: 175.1 kB / 0.6724 GB, free: 5.973 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.5594, allocations: 19.67 kB / 0.6724 GB, free: 5.961 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.5596, allocations: 10.44 kB / 0.6724 GB, free: 5.953 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.5596, allocations: 45.97 kB / 0.6725 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.5597, allocations: 26.89 kB / 0.6725 GB, free: 5.918 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.5597, allocations: 110.6 kB / 0.6726 GB, free: 5.828 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5598, allocations: 0 / 0.6726 GB, free: 5.828 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003298/0.5601, allocations: 118.8 kB / 0.6727 GB, free: 5.812 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (Td,Tu[1],Tu[2],Tu[3],Tu[4],Tu[5],Tu[6],Tu[7],Tu[8],Tu[9],Tu[10],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10]) * 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 (74): * Single equations (assignments): 74 * 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.0001517/0.5602, allocations: 135.7 kB / 0.6729 GB, free: 5.695 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0008046/0.5611, allocations: 0.5842 MB / 0.6734 GB, free: 5.461 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5611, allocations: 0 / 0.6734 GB, free: 5.461 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.5615, allocations: 332 kB / 0.6738 GB, free: 5.328 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.5618, allocations: 63.23 kB / 0.6738 GB, free: 5.289 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.5636, allocations: 1.546 MB / 0.6753 GB, free: 4.211 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.5638, allocations: 0.8078 MB / 0.6761 GB, free: 3.465 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.564, allocations: 52.61 kB / 0.6762 GB, free: 3.453 MB / 0.4983 GB Notification: Performance of SimCode: time 3.01e-07/0.564, allocations: 0 / 0.6762 GB, free: 3.453 MB / 0.4983 GB Notification: Performance of Templates: time 0.007451/0.5714, allocations: 5.14 MB / 0.6812 GB, free: 0.7891 MB / 0.4983 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 10.947183116804808]