Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 109.4 kB / 16.92 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 191.3 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.818/0.818, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4183, allocations: 80.7 MB / 0.5698 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001362/0.4197, allocations: 392.9 kB / 0.5701 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001528/0.4198, allocations: 34.94 kB / 0.5702 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.4199, allocations: 1.25 kB / 0.5702 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.4199, allocations: 0 / 0.5702 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.594e-05/0.4199, allocations: 0 / 0.5702 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.4201, allocations: 6.469 kB / 0.5702 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.725e-05/0.4201, allocations: 10.55 kB / 0.5702 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.4202, allocations: 5.203 kB / 0.5702 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.414e-05/0.4202, allocations: 1.594 kB / 0.5702 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.194e-05/0.4202, allocations: 5.453 kB / 0.5702 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.4202, allocations: 0 / 0.5702 GB, free: 43.06 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-05/0.4203, allocations: 13.59 kB / 0.5702 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-06/0.4203, allocations: 0 / 0.5702 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.4203, allocations: 0.9375 kB / 0.5702 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.436e-05/0.4204, allocations: 12.27 kB / 0.5702 GB, free: 43.04 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4204, allocations: 0 / 0.5702 GB, free: 43.04 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4204, allocations: 0 / 0.5702 GB, free: 43.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.4204, allocations: 1.062 kB / 0.5702 GB, free: 43.04 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001813/0.4206, allocations: 316.1 kB / 0.5705 GB, free: 42.69 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.4206, allocations: 8.906 kB / 0.5705 GB, free: 42.69 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.4206, allocations: 0.9375 kB / 0.5705 GB, free: 42.69 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.355e-05/0.4207, allocations: 169.3 kB / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.4207, allocations: 4.375 kB / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.4207, allocations: 1.375 kB / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.873e-05/0.4208, allocations: 34.72 kB / 0.5707 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.4208, allocations: 192 / 0.5707 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.4208, allocations: 3.938 kB / 0.5707 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4208, allocations: 0 / 0.5707 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.876e-05/0.4209, allocations: 3.844 kB / 0.5707 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.404e-05/0.421, allocations: 154.8 kB / 0.5709 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.421, allocations: 27.84 kB / 0.5709 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.889e-05/0.421, allocations: 11.61 kB / 0.5709 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.4212, allocations: 90.39 kB / 0.571 GB, free: 42.1 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.4212, allocations: 35.72 kB / 0.571 GB, free: 42.05 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4212, allocations: 0 / 0.571 GB, free: 42.05 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001055/0.4213, allocations: 46.36 kB / 0.5711 GB, free: 42.01 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.4214, allocations: 52.81 kB / 0.5711 GB, free: 41.95 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.356e-05/0.4214, allocations: 89.86 kB / 0.5712 GB, free: 41.85 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-06/0.4214, allocations: 25.7 kB / 0.5712 GB, free: 41.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-06/0.4214, allocations: 81.86 kB / 0.5713 GB, free: 41.74 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.4214, allocations: 7.844 kB / 0.5713 GB, free: 41.73 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.4215, allocations: 16.23 kB / 0.5713 GB, free: 41.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.641e-05/0.4215, allocations: 316.2 kB / 0.5716 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.4215, allocations: 5.406 kB / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.4215, allocations: 1.375 kB / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.4216, allocations: 10.7 kB / 0.5717 GB, free: 41.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4216, allocations: 0 / 0.5717 GB, free: 41.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.508e-05/0.4216, allocations: 41.22 kB / 0.5717 GB, free: 41.34 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.4216, allocations: 4.969 kB / 0.5717 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.4216, allocations: 1.438 kB / 0.5717 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.4216, allocations: 3.938 kB / 0.5717 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.4217, allocations: 6.594 kB / 0.5717 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4217, allocations: 4.094 kB / 0.5717 GB, free: 41.33 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.4217, allocations: 3.156 kB / 0.5717 GB, free: 41.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.4217, allocations: 1.219 kB / 0.5717 GB, free: 41.33 MB / 462.3 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 (2): * Single equations (assignments): 2 * 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 3.344e-05/0.4218, allocations: 107.2 kB / 0.5718 GB, free: 41.22 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.4218, allocations: 0 / 0.5718 GB, free: 41.22 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.938e-05/0.4218, allocations: 49.22 kB / 0.5719 GB, free: 41.17 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4219, allocations: 0 / 0.5719 GB, free: 41.17 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4219, allocations: 8.031 kB / 0.5719 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4219, allocations: 1.344 kB / 0.5719 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.509e-05/0.4219, allocations: 151.2 kB / 0.572 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4219, allocations: 0 / 0.572 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.4219, allocations: 3.125 kB / 0.572 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.422, allocations: 1.25 kB / 0.572 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.422, allocations: 7.875 kB / 0.572 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.422, allocations: 3.938 kB / 0.572 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.422, allocations: 1.562 kB / 0.572 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.6e-05/0.422, allocations: 65.56 kB / 0.5721 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.422, allocations: 77.11 kB / 0.5722 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.4221, allocations: 5.219 kB / 0.5722 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.052e-05/0.4221, allocations: 0 / 0.5722 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-06/0.4221, allocations: 1.469 kB / 0.5722 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.4221, allocations: 1.25 kB / 0.5722 GB, free: 40.78 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.879e-06/0.4221, allocations: 75.28 kB / 0.5723 GB, free: 40.71 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4221, allocations: 3.938 kB / 0.5723 GB, free: 40.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001889/0.4223, allocations: 2.781 kB / 0.5723 GB, free: 40.7 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 7.751e-05/0.4224, allocations: 110.7 kB / 0.5724 GB, free: 40.6 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.86e-05/0.4224, allocations: 10.81 kB / 0.5724 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4225, allocations: 0 / 0.5724 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.127e-06/0.4225, allocations: 4.125 kB / 0.5724 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.4226, allocations: 1.375 kB / 0.5724 GB, free: 40.59 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001413/0.4227, allocations: 97.06 kB / 0.5725 GB, free: 40.48 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.451e-05/0.4228, allocations: 0.6757 MB / 0.5731 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.4229, allocations: 1.375 kB / 0.5731 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-06/0.4229, allocations: 7.438 kB / 0.5731 GB, free: 39.77 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.4229, allocations: 1.375 kB / 0.5732 GB, free: 39.77 MB / 462.3 MB Notification: Performance of Templates: time 0.001735/0.4246, allocations: 289 kB / 0.5734 GB, free: 39.62 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches