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/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_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_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.001519/0.001519, allocations: 185 kB / 8.136 MB, free: 2.199 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.063/1.063, allocations: 221.4 MB / 229.9 MB, free: 3.09 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.0009501/0.0009501, allocations: 92.11 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6284/0.6284, allocations: 120.4 MB / 452 MB, free: 13.01 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.471e-06/5.491e-06, allocations: 0 / 0.5289 GB, free: 44.19 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 82.83 MB / 0.6098 GB, free: 14.23 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4679/0.5837, allocations: 125.1 MB / 0.732 GB, free: 15.81 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001636/0.5839, allocations: 70.34 kB / 0.7321 GB, free: 15.78 MB / 0.5109 GB Notification: Performance of FrontEnd: time 0.02085/0.6048, allocations: 6.602 MB / 0.7385 GB, free: 9.871 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.6048, allocations: 8 kB / 0.7385 GB, free: 9.863 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.0016/0.6064, allocations: 0.8217 MB / 0.7393 GB, free: 9.023 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6065, allocations: 12.03 kB / 0.7393 GB, free: 9.012 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.882e-05/0.6066, allocations: 43.44 kB / 0.7394 GB, free: 8.969 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006711/0.6072, allocations: 443.3 kB / 0.7398 GB, free: 8.512 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.6073, allocations: 12 kB / 0.7398 GB, free: 8.5 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.6074, allocations: 38.97 kB / 0.7398 GB, free: 8.465 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008258/0.6082, allocations: 0.5763 MB / 0.7404 GB, free: 8 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.609, allocations: 0.5446 MB / 0.7409 GB, free: 7.551 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.609, allocations: 0 / 0.7409 GB, free: 7.551 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.6091, allocations: 4 kB / 0.7409 GB, free: 7.547 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.6091, allocations: 8 kB / 0.741 GB, free: 7.539 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007411/0.6098, allocations: 0.556 MB / 0.7415 GB, free: 7.023 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.6122, allocations: 1.127 MB / 0.7426 GB, free: 6.098 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.6127, allocations: 429.5 kB / 0.743 GB, free: 5.793 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002303/0.6129, allocations: 114.3 kB / 0.7431 GB, free: 5.668 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.613, allocations: 50.22 kB / 0.7432 GB, free: 5.617 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=103): time 1.783e-06/0.613, allocations: 0 / 0.7432 GB, free: 5.617 MB / 0.5109 GB Notification: Performance of matching and sorting (n=103): time 0.002536/0.6155, allocations: 1.164 MB / 0.7443 GB, free: 4.629 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.6156, allocations: 63.28 kB / 0.7444 GB, free: 4.559 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.6157, allocations: 150.8 kB / 0.7445 GB, free: 4.418 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.6157, allocations: 29.7 kB / 0.7445 GB, free: 4.383 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.6158, allocations: 93.56 kB / 0.7446 GB, free: 4.293 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.616, allocations: 388.7 kB / 0.745 GB, free: 3.961 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.6161, allocations: 0 / 0.745 GB, free: 3.961 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6162, allocations: 367 kB / 0.7453 GB, free: 3.617 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.6168, allocations: 486.4 kB / 0.7458 GB, free: 3.262 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.6174, allocations: 486.1 kB / 0.7463 GB, free: 2.906 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.6193, allocations: 0.8158 MB / 0.7471 GB, free: 2.223 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.6193, allocations: 0 / 0.7471 GB, free: 2.223 MB / 0.5109 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002765/0.6221, allocations: 1.478 MB / 0.7485 GB, free: 0.9922 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6221, allocations: 6.812 kB / 0.7485 GB, free: 0.9883 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6221, allocations: 2.688 kB / 0.7485 GB, free: 0.9883 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6222, allocations: 8 kB / 0.7485 GB, free: 0.9805 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.6236, allocations: 284 kB / 0.7488 GB, free: 0.7109 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6236, allocations: 4 kB / 0.7488 GB, free: 0.707 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.624, allocations: 51.12 kB / 0.7488 GB, free: 0.6562 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.089e-05/0.6241, allocations: 45.36 kB / 0.7489 GB, free: 0.6211 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.0001439/0.6242, allocations: 112.8 kB / 0.749 GB, free: 0.5039 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.6243, allocations: 47.44 kB / 0.749 GB, free: 468 kB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/0.6275, allocations: 1.574 MB / 0.7506 GB, free: 15.19 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.6275, allocations: 19.98 kB / 0.7506 GB, free: 15.17 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.6275, allocations: 0 / 0.7506 GB, free: 15.17 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.6276, allocations: 11.88 kB / 0.7506 GB, free: 15.16 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007793/0.6283, allocations: 0.6623 MB / 0.7513 GB, free: 14.55 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6284, allocations: 4 kB / 0.7513 GB, free: 14.55 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/0.6303, allocations: 314.3 kB / 0.7516 GB, free: 14.26 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.6303, allocations: 12 kB / 0.7516 GB, free: 14.25 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/0.6304, allocations: 35.02 kB / 0.7516 GB, free: 14.21 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.6304, allocations: 4 kB / 0.7516 GB, free: 14.21 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6304, allocations: 3.938 kB / 0.7516 GB, free: 14.21 MB / 0.5265 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003332/0.6338, allocations: 2.021 MB / 0.7536 GB, free: 12.58 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/0.6341, allocations: 249.7 kB / 0.7538 GB, free: 12.32 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.6342, allocations: 15.98 kB / 0.7538 GB, free: 12.31 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.6346, allocations: 2.25 kB / 0.7538 GB, free: 12.31 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.6347, allocations: 75.31 kB / 0.7539 GB, free: 12.25 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-05/0.6348, allocations: 42.3 kB / 0.754 GB, free: 12.21 MB / 0.5265 GB Notification: Performance of sort global known variables: time 7.933e-05/0.6349, allocations: 125.7 kB / 0.7541 GB, free: 12.1 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.0004436/0.6353, allocations: 192 kB / 0.7543 GB, free: 11.91 MB / 0.5265 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.0002111/0.6355, allocations: 138.8 kB / 0.7544 GB, free: 11.77 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.6369, allocations: 1.138 MB / 0.7555 GB, free: 10.89 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6369, allocations: 0 / 0.7555 GB, free: 10.89 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0006934/0.6376, allocations: 0.6178 MB / 0.7561 GB, free: 10.42 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.638, allocations: 60.98 kB / 0.7562 GB, free: 10.37 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.6416, allocations: 2.728 MB / 0.7588 GB, free: 7.695 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007945/0.6424, allocations: 1.026 MB / 0.7598 GB, free: 6.656 MB / 0.5265 GB Notification: Performance of SimCode: time 2.61e-07/0.6424, allocations: 3.938 kB / 0.7598 GB, free: 6.652 MB / 0.5265 GB Notification: Performance of Templates: time 0.01485/0.6573, allocations: 10.43 MB / 0.77 GB, free: 12.25 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile (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) 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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches