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/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.0007775/0.0007775, allocations: 75.77 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009608/0.0009608, allocations: 170.8 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8729/0.8729, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 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.5845/0.5845, allocations: 88.06 MB / 348.7 MB, free: 14.39 MB / 330.7 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_noopt_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_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5251 GB, free: 1.906 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.426e-05, allocations: 2.281 kB / 0.5251 GB, free: 1.902 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20): time 0.001752/0.001776, allocations: 1.365 MB / 0.5264 GB, free: 0.5273 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.002505, allocations: 0.5184 MB / 0.5269 GB, free: 8 kB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.002547, allocations: 0 / 0.5269 GB, free: 8 kB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 9.599e-05/0.002643, allocations: 16.03 kB / 0.527 GB, free: 15.99 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.00294, allocations: 63.55 kB / 0.527 GB, free: 15.93 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.553e-05/0.003025, allocations: 47.69 kB / 0.5271 GB, free: 15.88 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.003363, allocations: 0.5537 MB / 0.5276 GB, free: 15.33 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.003403, allocations: 4.188 kB / 0.5276 GB, free: 15.32 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/0.00368, allocations: 267.6 kB / 0.5279 GB, free: 15.06 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.003981, allocations: 263.5 kB / 0.5281 GB, free: 14.8 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 5.154e-05/0.004032, allocations: 32 kB / 0.5282 GB, free: 14.77 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.004146, allocations: 55.92 kB / 0.5282 GB, free: 14.72 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.004315, allocations: 247.5 kB / 0.5284 GB, free: 14.48 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.004443, allocations: 195.5 kB / 0.5286 GB, free: 14.29 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.004769, allocations: 482.5 kB / 0.5291 GB, free: 13.81 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004771, allocations: 0 / 0.5291 GB, free: 13.81 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004772, allocations: 0 / 0.5291 GB, free: 13.81 MB / 458.8 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.004778, allocations: 4 kB / 0.5291 GB, free: 13.81 MB / 458.8 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.001158/0.005936, allocations: 0.7395 MB / 0.5298 GB, free: 13.04 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.005971, allocations: 12.03 kB / 0.5298 GB, free: 13.03 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.201e-05/0.006054, allocations: 48.66 kB / 0.5299 GB, free: 12.98 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.00634, allocations: 281 kB / 0.5301 GB, free: 12.68 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.006361, allocations: 29.38 kB / 0.5302 GB, free: 12.65 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.006432, allocations: 63.84 kB / 0.5302 GB, free: 12.59 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.007053, allocations: 0.5801 MB / 0.5308 GB, free: 12 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.007063, allocations: 4 kB / 0.5308 GB, free: 12 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.007099, allocations: 16 kB / 0.5308 GB, free: 11.98 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.007108, allocations: 12 kB / 0.5308 GB, free: 11.97 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.007736, allocations: 0.5854 MB / 0.5314 GB, free: 11.39 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.00826, allocations: 496.4 kB / 0.5319 GB, free: 10.87 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.01011, allocations: 1.311 MB / 0.5331 GB, free: 9.543 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.01055, allocations: 435.6 kB / 0.5336 GB, free: 9.117 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001364/0.01068, allocations: 28.94 kB / 0.5336 GB, free: 9.09 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.01071, allocations: 43.55 kB / 0.5336 GB, free: 9.039 MB / 458.8 MB Notification: Performance of pre-optimization done (n=103): time 1.944e-06/0.01071, allocations: 0 / 0.5336 GB, free: 9.039 MB / 458.8 MB Notification: Performance of matching and sorting (n=103): time 0.001472/0.01218, allocations: 1.351 MB / 0.535 GB, free: 7.684 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.01222, allocations: 64.41 kB / 0.535 GB, free: 7.609 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.01233, allocations: 175.3 kB / 0.5352 GB, free: 7.43 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.01237, allocations: 41.7 kB / 0.5352 GB, free: 7.383 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.01241, allocations: 110.1 kB / 0.5353 GB, free: 7.273 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.01262, allocations: 420.4 kB / 0.5357 GB, free: 6.859 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.01279, allocations: 198.9 kB / 0.5359 GB, free: 6.66 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.0129, allocations: 366.8 kB / 0.5363 GB, free: 6.293 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004942/0.01339, allocations: 478.3 kB / 0.5367 GB, free: 5.824 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/0.01387, allocations: 491.5 kB / 0.5372 GB, free: 5.344 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.0149, allocations: 1.04 MB / 0.5382 GB, free: 4.301 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.0149, allocations: 0 / 0.5382 GB, free: 4.301 MB / 458.8 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001233/0.01613, allocations: 1.246 MB / 0.5394 GB, free: 3.047 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01615, allocations: 8 kB / 0.5394 GB, free: 3.039 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01615, allocations: 0 / 0.5394 GB, free: 3.039 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.01617, allocations: 4 kB / 0.5394 GB, free: 3.035 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005308/0.0167, allocations: 271.7 kB / 0.5397 GB, free: 2.77 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.01671, allocations: 4 kB / 0.5397 GB, free: 2.766 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.01687, allocations: 79.36 kB / 0.5398 GB, free: 2.688 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.01692, allocations: 43.92 kB / 0.5398 GB, free: 2.645 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 (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.0001647/0.01709, allocations: 213.5 kB / 0.54 GB, free: 2.426 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.447e-05/0.01714, allocations: 51.69 kB / 0.5401 GB, free: 2.375 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.01856, allocations: 1.392 MB / 0.5414 GB, free: 0.9766 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.01857, allocations: 12 kB / 0.5414 GB, free: 0.9648 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.01858, allocations: 0 / 0.5414 GB, free: 0.9648 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.01859, allocations: 11.97 kB / 0.5415 GB, free: 0.9531 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.01913, allocations: 0.5905 MB / 0.542 GB, free: 344 kB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01913, allocations: 3.938 kB / 0.542 GB, free: 340 kB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/0.01988, allocations: 307.6 kB / 0.5423 GB, free: 32 kB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.01989, allocations: 11.94 kB / 0.5423 GB, free: 20 kB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.01995, allocations: 47.95 kB / 0.5424 GB, free: 15.97 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.01996, allocations: 8 kB / 0.5424 GB, free: 15.96 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01996, allocations: 0 / 0.5424 GB, free: 15.96 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.02171, allocations: 1.852 MB / 0.5442 GB, free: 14.09 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.02192, allocations: 175.2 kB / 0.5444 GB, free: 13.91 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.02199, allocations: 39.92 kB / 0.5444 GB, free: 13.88 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.02214, allocations: 24 kB / 0.5444 GB, free: 13.85 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.02224, allocations: 89.12 kB / 0.5445 GB, free: 13.77 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.02228, allocations: 39.98 kB / 0.5445 GB, free: 13.73 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.926e-05/0.02235, allocations: 135.2 kB / 0.5447 GB, free: 13.59 MB / 474.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02235, allocations: 4 kB / 0.5447 GB, free: 13.59 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003314/0.02268, allocations: 231.9 kB / 0.5449 GB, free: 13.36 MB / 474.8 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.0001969/0.02288, allocations: 160.8 kB / 0.5451 GB, free: 13.2 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.02404, allocations: 1.092 MB / 0.5461 GB, free: 12.11 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02405, allocations: 0 / 0.5461 GB, free: 12.11 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005781/0.02462, allocations: 0.6007 MB / 0.5467 GB, free: 11.51 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.0249, allocations: 105 kB / 0.5468 GB, free: 11.41 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.02703, allocations: 2.328 MB / 0.5491 GB, free: 9.039 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.02723, allocations: 329.1 kB / 0.5494 GB, free: 8.691 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.02766, allocations: 364.8 kB / 0.5497 GB, free: 8.336 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.02786, allocations: 88.47 kB / 0.5498 GB, free: 8.25 MB / 474.8 MB Notification: Performance of SimCode: time 5.31e-07/0.02786, allocations: 4 kB / 0.5498 GB, free: 8.246 MB / 474.8 MB Notification: Performance of Templates: time 0.01031/0.03818, allocations: 9.882 MB / 0.5595 GB, free: 14.45 MB / 490.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.ScaledExperiments.HeatingSystem_N_20.makefile [Timeout 300] (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) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_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: 10.268011629581451]