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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 181.3 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 91.73 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8921/0.8921, allocations: 120.4 MB / 463 MB, free: 8.699 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003189, allocations: 8 kB / 0.5446 GB, free: 41.23 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 82.85 MB / 0.6255 GB, free: 7.898 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7312/0.8751, allocations: 125.9 MB / 0.7485 GB, free: 8.465 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.8754, allocations: 63.81 kB / 0.7485 GB, free: 8.434 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.02137/0.8967, allocations: 6.762 MB / 0.7551 GB, free: 2.324 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.645e-06/0.8968, allocations: 0 / 0.7551 GB, free: 2.324 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.8968, allocations: 8 kB / 0.7551 GB, free: 2.316 MB / 0.5107 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.001743/0.8986, allocations: 0.8581 MB / 0.756 GB, free: 1.438 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.8986, allocations: 8.031 kB / 0.756 GB, free: 1.43 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.8988, allocations: 47.48 kB / 0.756 GB, free: 1.383 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008035/0.8996, allocations: 449.8 kB / 0.7565 GB, free: 0.9141 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.8996, allocations: 32.44 kB / 0.7565 GB, free: 0.8945 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.8997, allocations: 55.27 kB / 0.7566 GB, free: 0.8555 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/0.9006, allocations: 0.5806 MB / 0.7571 GB, free: 412 kB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.9006, allocations: 0 / 0.7571 GB, free: 412 kB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.9007, allocations: 19.69 kB / 0.7571 GB, free: 404 kB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.9007, allocations: 15.95 kB / 0.7572 GB, free: 388 kB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.9016, allocations: 0.5876 MB / 0.7577 GB, free: 15.91 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007878/0.9024, allocations: 0.614 MB / 0.7583 GB, free: 15.34 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/0.9056, allocations: 1.364 MB / 0.7597 GB, free: 14.27 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.9058, allocations: 102.1 kB / 0.7598 GB, free: 14.16 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.9058, allocations: 42.88 kB / 0.7598 GB, free: 14.11 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=103): time 1.974e-06/0.9058, allocations: 0 / 0.7598 GB, free: 14.11 MB / 0.5263 GB Notification: Performance of matching and sorting (n=103): time 0.002001/0.9078, allocations: 1.346 MB / 0.7611 GB, free: 13.08 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.9079, allocations: 64.34 kB / 0.7612 GB, free: 13 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.908, allocations: 165.9 kB / 0.7613 GB, free: 12.85 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.9081, allocations: 44.83 kB / 0.7614 GB, free: 12.81 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.9082, allocations: 105.5 kB / 0.7615 GB, free: 12.72 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.9085, allocations: 408.4 kB / 0.7619 GB, free: 12.38 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.9085, allocations: 19.12 kB / 0.7619 GB, free: 12.37 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9087, allocations: 367.9 kB / 0.7622 GB, free: 12.03 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.9094, allocations: 466.3 kB / 0.7627 GB, free: 11.68 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/0.91, allocations: 481.7 kB / 0.7631 GB, free: 11.33 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/0.9108, allocations: 0.5505 MB / 0.7637 GB, free: 10.94 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9108, allocations: 0 / 0.7637 GB, free: 10.94 MB / 0.5263 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001671/0.9125, allocations: 1.234 MB / 0.7649 GB, free: 10 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.9125, allocations: 4 kB / 0.7649 GB, free: 9.996 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.9125, allocations: 0 / 0.7649 GB, free: 9.996 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.9125, allocations: 4 kB / 0.7649 GB, free: 9.992 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.914, allocations: 287.4 kB / 0.7652 GB, free: 9.719 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.914, allocations: 4 kB / 0.7652 GB, free: 9.715 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.9144, allocations: 74.38 kB / 0.7652 GB, free: 9.66 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.481e-05/0.9145, allocations: 43.75 kB / 0.7653 GB, free: 9.625 MB / 0.5263 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.9147, allocations: 217.8 kB / 0.7655 GB, free: 9.438 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.9148, allocations: 51.45 kB / 0.7655 GB, free: 9.387 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.9169, allocations: 1.39 MB / 0.7669 GB, free: 8.383 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.917, allocations: 20 kB / 0.7669 GB, free: 8.363 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.917, allocations: 3.984 kB / 0.7669 GB, free: 8.359 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.917, allocations: 3.984 kB / 0.7669 GB, free: 8.355 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008782/0.9179, allocations: 0.7374 MB / 0.7676 GB, free: 7.699 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9179, allocations: 0 / 0.7676 GB, free: 7.699 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.9197, allocations: 323.2 kB / 0.7679 GB, free: 7.395 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.9197, allocations: 4 kB / 0.7679 GB, free: 7.391 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.852e-05/0.9198, allocations: 50.45 kB / 0.768 GB, free: 7.359 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.9198, allocations: 12 kB / 0.768 GB, free: 7.348 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9198, allocations: 0 / 0.768 GB, free: 7.348 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.9223, allocations: 1.844 MB / 0.7698 GB, free: 5.961 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/0.9227, allocations: 251.2 kB / 0.77 GB, free: 5.707 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.83e-05/0.9228, allocations: 35.48 kB / 0.7701 GB, free: 5.688 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.9231, allocations: 26.69 kB / 0.7701 GB, free: 5.68 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.9233, allocations: 84.81 kB / 0.7702 GB, free: 5.605 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.9234, allocations: 39.8 kB / 0.7702 GB, free: 5.574 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 9.007e-05/0.9235, allocations: 135.9 kB / 0.7704 GB, free: 5.453 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9235, allocations: 0 / 0.7704 GB, free: 5.453 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0005111/0.924, allocations: 234.6 kB / 0.7706 GB, free: 5.258 MB / 0.5263 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 () * 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 (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.0002576/0.9243, allocations: 179.6 kB / 0.7708 GB, free: 5.098 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.9259, allocations: 1.141 MB / 0.7719 GB, free: 4.211 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9259, allocations: 0 / 0.7719 GB, free: 4.211 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/0.9267, allocations: 0.6302 MB / 0.7725 GB, free: 3.719 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.9271, allocations: 89.33 kB / 0.7726 GB, free: 3.664 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.9313, allocations: 3.35 MB / 0.7758 GB, free: 412 kB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.9318, allocations: 0.9281 MB / 0.7767 GB, free: 15.45 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0009084/0.9327, allocations: 376.8 kB / 0.7771 GB, free: 15.08 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.933, allocations: 95.16 kB / 0.7772 GB, free: 15 MB / 0.5419 GB Notification: Performance of SimCode: time 6.82e-07/0.933, allocations: 0 / 0.7772 GB, free: 15 MB / 0.5419 GB Notification: Performance of Templates: time 0.01466/0.9477, allocations: 8.728 MB / 0.7857 GB, free: 6.324 MB / 0.5419 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/jenkins1/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