Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10,tolerance=1e-07,outputFormat="mat",numberOfIntervals=43200,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=43200,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") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 225.7 MB / 243.2 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007894/0.0007893, allocations: 94.27 kB / 294.4 MB, free: 9.719 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.6894/0.6894, allocations: 120.5 MB / 465.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 8 kB / 0.5477 GB, free: 40.04 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 82.85 MB / 0.6286 GB, free: 6.496 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10): time 0.001213/0.1219, allocations: 1.083 MB / 0.6297 GB, free: 5.402 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.1227, allocations: 0.7216 MB / 0.6304 GB, free: 4.625 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.1228, allocations: 0 / 0.6304 GB, free: 4.625 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 7.343e-05/0.1229, allocations: 11.92 kB / 0.6304 GB, free: 4.613 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1231, allocations: 39.81 kB / 0.6304 GB, free: 4.574 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.214e-05/0.1232, allocations: 47.83 kB / 0.6305 GB, free: 4.527 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.1235, allocations: 351.3 kB / 0.6308 GB, free: 4.184 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.1236, allocations: 8.172 kB / 0.6308 GB, free: 4.176 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.1237, allocations: 111.8 kB / 0.6309 GB, free: 4.066 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.124, allocations: 171.6 kB / 0.6311 GB, free: 3.898 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 3.899e-05/0.124, allocations: 16 kB / 0.6311 GB, free: 3.883 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1241, allocations: 39.98 kB / 0.6311 GB, free: 3.844 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1243, allocations: 131.6 kB / 0.6313 GB, free: 3.715 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.1244, allocations: 153 kB / 0.6314 GB, free: 3.559 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1246, allocations: 231.5 kB / 0.6316 GB, free: 3.332 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1246, allocations: 0 / 0.6316 GB, free: 3.332 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1247, allocations: 0 / 0.6316 GB, free: 3.332 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1247, allocations: 0 / 0.6316 GB, free: 3.332 MB / 442.8 MB 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.0009543/0.1256, allocations: 0.5694 MB / 0.6322 GB, free: 2.715 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1257, allocations: 8.031 kB / 0.6322 GB, free: 2.707 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.1257, allocations: 24.66 kB / 0.6322 GB, free: 2.684 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.126, allocations: 255.9 kB / 0.6325 GB, free: 2.395 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.126, allocations: 20.44 kB / 0.6325 GB, free: 2.371 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/0.1261, allocations: 31.91 kB / 0.6325 GB, free: 2.34 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004766/0.1265, allocations: 319 kB / 0.6328 GB, free: 2.023 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1266, allocations: 0 / 0.6328 GB, free: 2.023 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.1266, allocations: 4 kB / 0.6328 GB, free: 2.02 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.1266, allocations: 8 kB / 0.6328 GB, free: 2.012 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004111/0.127, allocations: 285.5 kB / 0.6331 GB, free: 1.73 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.1275, allocations: 403.2 kB / 0.6335 GB, free: 1.289 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.1291, allocations: 0.6815 MB / 0.6342 GB, free: 0.5977 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.1294, allocations: 234 kB / 0.6344 GB, free: 376 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.1296, allocations: 93.53 kB / 0.6345 GB, free: 264 kB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1296, allocations: 42.94 kB / 0.6345 GB, free: 212 kB / 442.8 MB Notification: Performance of pre-optimization done (n=53): time 1.473e-06/0.1296, allocations: 0 / 0.6345 GB, free: 212 kB / 442.8 MB Notification: Performance of matching and sorting (n=53): time 0.001094/0.1307, allocations: 0.6956 MB / 0.6352 GB, free: 15.5 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1308, allocations: 55.84 kB / 0.6352 GB, free: 15.43 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1309, allocations: 158.5 kB / 0.6354 GB, free: 15.26 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1309, allocations: 29.7 kB / 0.6354 GB, free: 15.22 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.131, allocations: 97.14 kB / 0.6355 GB, free: 15.12 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.1311, allocations: 209 kB / 0.6357 GB, free: 14.92 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.1311, allocations: 12 kB / 0.6357 GB, free: 14.91 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1313, allocations: 338.8 kB / 0.636 GB, free: 14.57 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.1316, allocations: 241.1 kB / 0.6363 GB, free: 14.33 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.1319, allocations: 241.7 kB / 0.6365 GB, free: 14.1 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/0.1326, allocations: 0.5319 MB / 0.637 GB, free: 13.56 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1326, allocations: 4 kB / 0.637 GB, free: 13.56 MB / 458.8 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008456/0.1335, allocations: 0.6413 MB / 0.6377 GB, free: 12.91 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1335, allocations: 4 kB / 0.6377 GB, free: 12.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1335, allocations: 0 / 0.6377 GB, free: 12.91 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1335, allocations: 4 kB / 0.6377 GB, free: 12.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/0.1341, allocations: 139.8 kB / 0.6378 GB, free: 12.77 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1341, allocations: 7.938 kB / 0.6378 GB, free: 12.76 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1343, allocations: 39.59 kB / 0.6378 GB, free: 12.72 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.1343, allocations: 19.98 kB / 0.6379 GB, free: 12.7 MB / 458.8 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 (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.0001579/0.1345, allocations: 173.6 kB / 0.638 GB, free: 12.52 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.1345, allocations: 23.72 kB / 0.6381 GB, free: 12.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.1357, allocations: 0.7166 MB / 0.6388 GB, free: 11.77 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.1357, allocations: 8 kB / 0.6388 GB, free: 11.77 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1357, allocations: 3.938 kB / 0.6388 GB, free: 11.76 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1357, allocations: 3.984 kB / 0.6388 GB, free: 11.76 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1362, allocations: 457.6 kB / 0.6392 GB, free: 11.26 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1362, allocations: 7.938 kB / 0.6392 GB, free: 11.25 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/0.1369, allocations: 159.9 kB / 0.6394 GB, free: 11.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.137, allocations: 3.938 kB / 0.6394 GB, free: 11.09 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.137, allocations: 23.98 kB / 0.6394 GB, free: 11.07 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.137, allocations: 4 kB / 0.6394 GB, free: 11.07 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.137, allocations: 3.938 kB / 0.6394 GB, free: 11.06 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.1384, allocations: 0.963 MB / 0.6403 GB, free: 10.08 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.1385, allocations: 172.7 kB / 0.6405 GB, free: 9.891 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.1386, allocations: 23.98 kB / 0.6405 GB, free: 9.867 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1388, allocations: 12 kB / 0.6405 GB, free: 9.855 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/0.1389, allocations: 40.59 kB / 0.6406 GB, free: 9.816 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.1389, allocations: 24 kB / 0.6406 GB, free: 9.793 MB / 458.8 MB Notification: Performance of sorting global known variables: time 6.769e-05/0.139, allocations: 111.2 kB / 0.6407 GB, free: 9.684 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.139, allocations: 0 / 0.6407 GB, free: 9.684 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0003159/0.1393, allocations: 116 kB / 0.6408 GB, free: 9.57 MB / 458.8 MB 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.0001742/0.1395, allocations: 143.6 kB / 0.641 GB, free: 9.422 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0008577/0.1404, allocations: 0.5794 MB / 0.6415 GB, free: 8.848 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1404, allocations: 0 / 0.6415 GB, free: 8.848 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004169/0.1408, allocations: 327.5 kB / 0.6418 GB, free: 8.523 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1411, allocations: 61.22 kB / 0.6419 GB, free: 8.465 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.1434, allocations: 1.804 MB / 0.6437 GB, free: 6.633 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1437, allocations: 0.8092 MB / 0.6444 GB, free: 5.797 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0003925/0.1441, allocations: 179.1 kB / 0.6446 GB, free: 5.625 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.1443, allocations: 51.42 kB / 0.6447 GB, free: 5.574 MB / 458.8 MB Notification: Performance of SimCode: time 7.72e-07/0.1443, allocations: 3.938 kB / 0.6447 GB, free: 5.57 MB / 458.8 MB Notification: Performance of Templates: time 0.009094/0.1534, allocations: 4.86 MB / 0.6494 GB, free: 0.707 MB / 458.8 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.makefile (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 -abortSlowSimulation -alarm=300 -s=ida -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches