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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 81.8 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 168.6 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.369/1.369, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9149/0.9149, allocations: 88.07 MB / 348.7 MB, free: 1.816 MB / 318.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.633e-06/1.633e-06, allocations: 0 / 0.5251 GB, free: 7.242 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.427e-05, allocations: 3.266 kB / 0.5251 GB, free: 7.238 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001776/0.001801, allocations: 1.389 MB / 0.5265 GB, free: 6.141 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0007696/0.00257, allocations: 0.5193 MB / 0.527 GB, free: 5.75 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.002612, allocations: 0 / 0.527 GB, free: 5.75 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 8.387e-05/0.002695, allocations: 8.828 kB / 0.527 GB, free: 5.742 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.002966, allocations: 63.34 kB / 0.527 GB, free: 5.695 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 9.74e-05/0.003064, allocations: 42.83 kB / 0.5271 GB, free: 5.664 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0004318/0.003495, allocations: 0.5515 MB / 0.5276 GB, free: 5.367 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.003533, allocations: 11.22 kB / 0.5276 GB, free: 5.363 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.003845, allocations: 265.4 kB / 0.5279 GB, free: 5.227 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.004185, allocations: 263.9 kB / 0.5281 GB, free: 5.078 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 9.106e-05/0.004276, allocations: 30.31 kB / 0.5282 GB, free: 5.078 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.004433, allocations: 58.86 kB / 0.5282 GB, free: 5.062 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.004653, allocations: 238.2 kB / 0.5284 GB, free: 4.922 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.00486, allocations: 188.2 kB / 0.5286 GB, free: 4.824 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.005285, allocations: 487.2 kB / 0.5291 GB, free: 4.543 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.005287, allocations: 0 / 0.5291 GB, free: 4.543 MB / 446.2 MB Notification: Performance of FrontEnd: time 6.12e-07/0.005288, allocations: 0 / 0.5291 GB, free: 4.543 MB / 446.2 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.005295, allocations: 0 / 0.5291 GB, free: 4.543 MB / 446.2 MB 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.00154/0.006835, allocations: 0.7536 MB / 0.5298 GB, free: 4.004 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.006873, allocations: 18.02 kB / 0.5298 GB, free: 3.996 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.006992, allocations: 47.41 kB / 0.5299 GB, free: 3.973 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.007354, allocations: 262.5 kB / 0.5301 GB, free: 3.758 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.007382, allocations: 29.78 kB / 0.5302 GB, free: 3.746 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.007483, allocations: 64.66 kB / 0.5302 GB, free: 3.715 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008318/0.008314, allocations: 0.5822 MB / 0.5308 GB, free: 3.383 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.008331, allocations: 4 kB / 0.5308 GB, free: 3.379 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.008382, allocations: 15.78 kB / 0.5308 GB, free: 3.367 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.008394, allocations: 10.09 kB / 0.5308 GB, free: 3.367 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006998/0.009094, allocations: 0.5829 MB / 0.5314 GB, free: 2.785 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.009658, allocations: 0.4963 MB / 0.5319 GB, free: 2.258 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.01248, allocations: 1.314 MB / 0.5332 GB, free: 0.9258 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.01297, allocations: 435.6 kB / 0.5336 GB, free: 0.5 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.01312, allocations: 24.92 kB / 0.5336 GB, free: 488 kB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.01314, allocations: 43.56 kB / 0.5336 GB, free: 436 kB / 446.2 MB Notification: Performance of pre-optimization done (n=103): time 2.264e-06/0.01314, allocations: 0 / 0.5336 GB, free: 436 kB / 446.2 MB Notification: Performance of matching and sorting (n=103): time 0.002175/0.01532, allocations: 1.351 MB / 0.535 GB, free: 15.07 MB / 462.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.01538, allocations: 64.41 kB / 0.535 GB, free: 15 MB / 462.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.01555, allocations: 179.3 kB / 0.5352 GB, free: 14.81 MB / 462.2 MB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.01561, allocations: 41.7 kB / 0.5352 GB, free: 14.77 MB / 462.2 MB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.01569, allocations: 110.1 kB / 0.5353 GB, free: 14.66 MB / 462.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.01605, allocations: 420.4 kB / 0.5357 GB, free: 14.24 MB / 462.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.01634, allocations: 202.9 kB / 0.5359 GB, free: 14.04 MB / 462.2 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.01654, allocations: 362.8 kB / 0.5363 GB, free: 13.68 MB / 462.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007781/0.01731, allocations: 474.3 kB / 0.5367 GB, free: 13.21 MB / 462.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.0181, allocations: 491.5 kB / 0.5372 GB, free: 12.73 MB / 462.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.0198, allocations: 1.04 MB / 0.5382 GB, free: 11.69 MB / 462.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.0198, allocations: 0 / 0.5382 GB, free: 11.69 MB / 462.2 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002021/0.02182, allocations: 1.246 MB / 0.5394 GB, free: 10.43 MB / 462.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.02184, allocations: 12 kB / 0.5394 GB, free: 10.42 MB / 462.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.02185, allocations: 0 / 0.5394 GB, free: 10.42 MB / 462.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.02186, allocations: 4 kB / 0.5394 GB, free: 10.42 MB / 462.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.02294, allocations: 267.7 kB / 0.5397 GB, free: 10.16 MB / 462.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.02296, allocations: 4 kB / 0.5397 GB, free: 10.15 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.02334, allocations: 79.36 kB / 0.5398 GB, free: 10.07 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/0.02342, allocations: 39.98 kB / 0.5398 GB, free: 10.04 MB / 462.2 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 (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.000284/0.02371, allocations: 213.5 kB / 0.54 GB, free: 9.816 MB / 462.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.02381, allocations: 51.7 kB / 0.5401 GB, free: 9.766 MB / 462.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.02629, allocations: 1.385 MB / 0.5414 GB, free: 8.371 MB / 462.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.0263, allocations: 12 kB / 0.5414 GB, free: 8.359 MB / 462.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.02631, allocations: 7.984 kB / 0.5414 GB, free: 8.352 MB / 462.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.02633, allocations: 7.984 kB / 0.5414 GB, free: 8.344 MB / 462.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008808/0.02721, allocations: 0.5982 MB / 0.542 GB, free: 7.719 MB / 462.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.02721, allocations: 0 / 0.542 GB, free: 7.719 MB / 462.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.02871, allocations: 311.5 kB / 0.5423 GB, free: 7.414 MB / 462.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.02872, allocations: 11.94 kB / 0.5423 GB, free: 7.402 MB / 462.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/0.02881, allocations: 47.95 kB / 0.5424 GB, free: 7.355 MB / 462.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.02882, allocations: 4 kB / 0.5424 GB, free: 7.352 MB / 462.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02882, allocations: 0 / 0.5424 GB, free: 7.352 MB / 462.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.03173, allocations: 1.848 MB / 0.5442 GB, free: 5.477 MB / 462.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/0.03208, allocations: 175.2 kB / 0.5444 GB, free: 5.305 MB / 462.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.03219, allocations: 43.92 kB / 0.5444 GB, free: 5.262 MB / 462.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.03255, allocations: 24 kB / 0.5444 GB, free: 5.238 MB / 462.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.03272, allocations: 93.06 kB / 0.5445 GB, free: 5.148 MB / 462.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/0.0328, allocations: 39.98 kB / 0.5445 GB, free: 5.109 MB / 462.2 MB Notification: Performance of sorting global known variables: time 0.0001084/0.03291, allocations: 135.2 kB / 0.5447 GB, free: 4.977 MB / 462.2 MB Notification: Performance of sort global known variables: time 7e-08/0.03291, allocations: 0 / 0.5447 GB, free: 4.977 MB / 462.2 MB Notification: Performance of remove unused functions: time 0.0005151/0.03343, allocations: 228 kB / 0.5449 GB, free: 4.754 MB / 462.2 MB 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.0002582/0.03368, allocations: 160.8 kB / 0.545 GB, free: 4.59 MB / 462.2 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.03545, allocations: 1.092 MB / 0.5461 GB, free: 3.5 MB / 462.2 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03545, allocations: 0 / 0.5461 GB, free: 3.5 MB / 462.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0009639/0.03641, allocations: 0.6007 MB / 0.5467 GB, free: 2.898 MB / 462.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.03693, allocations: 115.3 kB / 0.5468 GB, free: 2.789 MB / 462.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.04051, allocations: 2.329 MB / 0.5491 GB, free: 432 kB / 462.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.04083, allocations: 322.7 kB / 0.5494 GB, free: 84 kB / 462.2 MB Notification: Performance of simCode: alias equations: time 0.0007755/0.0416, allocations: 364.9 kB / 0.5497 GB, free: 15.73 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.04193, allocations: 88.47 kB / 0.5498 GB, free: 15.64 MB / 478.2 MB Notification: Performance of SimCode: time 3.41e-07/0.04193, allocations: 7.938 kB / 0.5498 GB, free: 15.63 MB / 478.2 MB Notification: Performance of Templates: time 0.01819/0.06012, allocations: 9.868 MB / 0.5595 GB, free: 5.859 MB / 478.2 MB " [Timeout remaining time 300] 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: 12.888115625828505]