Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008993/0.0008993, allocations: 193.1 kB / 8.141 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.039/1.039, allocations: 221.4 MB / 229.9 MB, free: 3.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008604/0.0008603, allocations: 93.55 kB / 280.8 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6155/0.6155, allocations: 120.4 MB / 452 MB, free: 13 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.952e-06/5.982e-06, allocations: 0 / 0.5289 GB, free: 51.75 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 82.85 MB / 0.6098 GB, free: 2.809 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4479/0.5608, allocations: 125.1 MB / 0.732 GB, free: 4.18 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001556/0.561, allocations: 65.44 kB / 0.7321 GB, free: 4.156 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01908/0.58, allocations: 6.604 MB / 0.7385 GB, free: 14.42 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.5801, allocations: 8 kB / 0.7385 GB, free: 14.41 MB / 0.5109 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.00168/0.5818, allocations: 0.8201 MB / 0.7393 GB, free: 13.58 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5818, allocations: 8.031 kB / 0.7393 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.582, allocations: 47.44 kB / 0.7394 GB, free: 13.52 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006838/0.5827, allocations: 437.5 kB / 0.7398 GB, free: 13.07 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.5827, allocations: 18.88 kB / 0.7398 GB, free: 13.05 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5828, allocations: 43.56 kB / 0.7399 GB, free: 13.01 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008555/0.5837, allocations: 0.5806 MB / 0.7404 GB, free: 12.54 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008125/0.5845, allocations: 0.5369 MB / 0.7409 GB, free: 12.1 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5845, allocations: 0 / 0.7409 GB, free: 12.1 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.908e-05/0.5846, allocations: 4 kB / 0.741 GB, free: 12.1 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.5846, allocations: 9.031 kB / 0.741 GB, free: 12.09 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007453/0.5854, allocations: 0.5548 MB / 0.7415 GB, free: 11.58 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.5877, allocations: 1.13 MB / 0.7426 GB, free: 10.65 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/0.5882, allocations: 433 kB / 0.743 GB, free: 10.34 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.5884, allocations: 109.6 kB / 0.7431 GB, free: 10.22 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.5885, allocations: 46.72 kB / 0.7432 GB, free: 10.17 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=103): time 2.465e-06/0.5885, allocations: 4 kB / 0.7432 GB, free: 10.17 MB / 0.5109 GB Notification: Performance of matching and sorting (n=103): time 0.002572/0.591, allocations: 1.159 MB / 0.7443 GB, free: 9.184 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.5911, allocations: 68.39 kB / 0.7444 GB, free: 9.105 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.5912, allocations: 144.3 kB / 0.7445 GB, free: 8.973 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.5913, allocations: 29.64 kB / 0.7445 GB, free: 8.938 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.5913, allocations: 100.2 kB / 0.7446 GB, free: 8.844 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.5916, allocations: 393.7 kB / 0.745 GB, free: 8.504 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.5916, allocations: 0 / 0.745 GB, free: 8.504 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5918, allocations: 367.3 kB / 0.7454 GB, free: 8.16 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/0.5924, allocations: 485.4 kB / 0.7458 GB, free: 7.809 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.593, allocations: 485.8 kB / 0.7463 GB, free: 7.453 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.5948, allocations: 0.806 MB / 0.7471 GB, free: 6.777 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5949, allocations: 4 kB / 0.7471 GB, free: 6.773 MB / 0.5109 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002754/0.5976, allocations: 1.478 MB / 0.7485 GB, free: 5.543 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5976, allocations: 6.812 kB / 0.7485 GB, free: 5.539 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5977, allocations: 0 / 0.7485 GB, free: 5.539 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.5977, allocations: 4 kB / 0.7485 GB, free: 5.535 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.5992, allocations: 285.2 kB / 0.7488 GB, free: 5.266 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.5992, allocations: 12 kB / 0.7488 GB, free: 5.254 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.5996, allocations: 51.12 kB / 0.7489 GB, free: 5.203 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.5997, allocations: 42.17 kB / 0.7489 GB, free: 5.172 MB / 0.5109 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.5998, allocations: 112.8 kB / 0.749 GB, free: 5.055 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.5999, allocations: 47.44 kB / 0.7491 GB, free: 5.008 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/0.603, allocations: 1.575 MB / 0.7506 GB, free: 3.734 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.603, allocations: 16 kB / 0.7506 GB, free: 3.719 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.603, allocations: 0 / 0.7506 GB, free: 3.719 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.6031, allocations: 15.88 kB / 0.7506 GB, free: 3.703 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007457/0.6038, allocations: 0.6556 MB / 0.7513 GB, free: 3.109 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6038, allocations: 0 / 0.7513 GB, free: 3.109 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.6057, allocations: 317.7 kB / 0.7516 GB, free: 2.809 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.6057, allocations: 5.562 kB / 0.7516 GB, free: 2.805 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.871e-05/0.6058, allocations: 33.28 kB / 0.7516 GB, free: 2.777 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.6058, allocations: 4 kB / 0.7516 GB, free: 2.773 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6058, allocations: 11.94 kB / 0.7516 GB, free: 2.762 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003201/0.609, allocations: 2.018 MB / 0.7536 GB, free: 1.137 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.6094, allocations: 247.5 kB / 0.7538 GB, free: 0.8867 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6095, allocations: 19.97 kB / 0.7538 GB, free: 0.8672 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.6098, allocations: 8 kB / 0.7538 GB, free: 0.8594 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.61, allocations: 72.94 kB / 0.7539 GB, free: 0.7969 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.623e-05/0.61, allocations: 43.3 kB / 0.754 GB, free: 0.7656 MB / 0.5109 GB Notification: Performance of sort global known variables: time 7.616e-05/0.6101, allocations: 127 kB / 0.7541 GB, free: 0.6523 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0004594/0.6106, allocations: 188 kB / 0.7543 GB, free: 480 kB / 0.5109 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 () * 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 (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 0.0001986/0.6108, allocations: 150.7 kB / 0.7544 GB, free: 324 kB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.6121, allocations: 1.13 MB / 0.7555 GB, free: 15.44 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6121, allocations: 0 / 0.7555 GB, free: 15.44 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.6128, allocations: 0.6125 MB / 0.7561 GB, free: 14.97 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.6132, allocations: 70.17 kB / 0.7562 GB, free: 14.92 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.6166, allocations: 2.734 MB / 0.7588 GB, free: 12.24 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007237/0.6174, allocations: 1.032 MB / 0.7598 GB, free: 11.19 MB / 0.5265 GB Notification: Performance of SimCode: time 2.6e-07/0.6174, allocations: 0 / 0.7598 GB, free: 11.19 MB / 0.5265 GB Notification: Performance of Templates: time 0.01477/0.6321, allocations: 10.43 MB / 0.77 GB, free: 0.7969 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches