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.001005/0.001005, allocations: 110.7 kB / 17.28 MB, free: 6.195 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.001014/0.001014, allocations: 194 kB / 18.21 MB, free: 5.27 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.286/1.286, allocations: 222.9 MB / 241.9 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8696/0.8696, allocations: 119.3 MB / 411.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 0.4911 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.477, allocations: 80.68 MB / 0.5699 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001469/0.4785, allocations: 465.2 kB / 0.5703 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001827/0.4787, allocations: 30.84 kB / 0.5703 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.4787, allocations: 1.156 kB / 0.5703 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.4788, allocations: 0 / 0.5703 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.4788, allocations: 4 kB / 0.5704 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.479, allocations: 7.438 kB / 0.5704 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.86e-05/0.479, allocations: 2.188 kB / 0.5704 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.4791, allocations: 1.125 kB / 0.5704 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.4791, allocations: 1.094 kB / 0.5704 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.4791, allocations: 9.016 kB / 0.5704 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.4792, allocations: 0 / 0.5704 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.017e-05/0.4792, allocations: 5.531 kB / 0.5704 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.4792, allocations: 7.984 kB / 0.5704 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.4793, allocations: 5.031 kB / 0.5704 GB, free: 42.55 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.961e-05/0.4793, allocations: 11.33 kB / 0.5704 GB, free: 42.54 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4793, allocations: 0 / 0.5704 GB, free: 42.54 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4793, allocations: 1.031 kB / 0.5704 GB, free: 42.54 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.4794, allocations: 0 / 0.5704 GB, free: 42.54 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.0002227/0.4796, allocations: 311.8 kB / 0.5707 GB, free: 42.19 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4796, allocations: 12.83 kB / 0.5707 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.4797, allocations: 2.062 kB / 0.5707 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.258e-05/0.4797, allocations: 160.4 kB / 0.5709 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4797, allocations: 5.469 kB / 0.5709 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.4797, allocations: 1.531 kB / 0.5709 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.514e-05/0.4798, allocations: 33.42 kB / 0.5709 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.4799, allocations: 192 / 0.5709 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.4799, allocations: 3.938 kB / 0.5709 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4799, allocations: 1.094 kB / 0.5709 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.322e-05/0.4799, allocations: 15.14 kB / 0.5709 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.48, allocations: 146.8 kB / 0.5711 GB, free: 41.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.194e-05/0.4801, allocations: 23.83 kB / 0.5711 GB, free: 41.72 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.4801, allocations: 16.14 kB / 0.5711 GB, free: 41.7 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.4803, allocations: 86.53 kB / 0.5712 GB, free: 41.61 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.4803, allocations: 31.72 kB / 0.5712 GB, free: 41.57 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.4803, allocations: 0 / 0.5712 GB, free: 41.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001227/0.4805, allocations: 50.69 kB / 0.5713 GB, free: 41.52 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.4805, allocations: 51.41 kB / 0.5713 GB, free: 41.46 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.908e-05/0.4805, allocations: 93.98 kB / 0.5714 GB, free: 41.36 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.4805, allocations: 26.61 kB / 0.5714 GB, free: 41.32 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.025e-05/0.4805, allocations: 84.08 kB / 0.5715 GB, free: 41.24 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.4806, allocations: 5.156 kB / 0.5715 GB, free: 41.23 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.4806, allocations: 11.91 kB / 0.5715 GB, free: 41.22 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.4807, allocations: 319.9 kB / 0.5718 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.4807, allocations: 2.25 kB / 0.5718 GB, free: 40.9 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.4807, allocations: 1.156 kB / 0.5718 GB, free: 40.9 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.4807, allocations: 13.98 kB / 0.5718 GB, free: 40.89 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4807, allocations: 0 / 0.5718 GB, free: 40.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.984e-05/0.4808, allocations: 42.2 kB / 0.5719 GB, free: 40.85 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.4808, allocations: 5.438 kB / 0.5719 GB, free: 40.85 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.4808, allocations: 7.969 kB / 0.5719 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4808, allocations: 3.938 kB / 0.5719 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.4809, allocations: 3.469 kB / 0.5719 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.4809, allocations: 0 / 0.5719 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.4809, allocations: 3.188 kB / 0.5719 GB, free: 40.84 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.4809, allocations: 5.219 kB / 0.5719 GB, free: 40.83 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 4.291e-05/0.481, allocations: 107.1 kB / 0.572 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.481, allocations: 0 / 0.572 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.4811, allocations: 53 kB / 0.5721 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4811, allocations: 3.984 kB / 0.5721 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4811, allocations: 1.188 kB / 0.5721 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.4811, allocations: 0 / 0.5721 GB, free: 40.66 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.354e-05/0.4811, allocations: 151.7 kB / 0.5722 GB, free: 40.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4811, allocations: 4.031 kB / 0.5722 GB, free: 40.46 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/0.4812, allocations: 2.594 kB / 0.5722 GB, free: 40.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4812, allocations: 1.438 kB / 0.5722 GB, free: 40.46 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.4812, allocations: 3.938 kB / 0.5722 GB, free: 40.46 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.4812, allocations: 5.531 kB / 0.5722 GB, free: 40.45 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4812, allocations: 0 / 0.5722 GB, free: 40.45 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.401e-05/0.4813, allocations: 61.94 kB / 0.5723 GB, free: 40.38 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.4813, allocations: 77.11 kB / 0.5724 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.4813, allocations: 9.062 kB / 0.5724 GB, free: 40.28 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.4813, allocations: 0 / 0.5724 GB, free: 40.28 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-06/0.4813, allocations: 1.062 kB / 0.5724 GB, free: 40.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.4813, allocations: 5.031 kB / 0.5724 GB, free: 40.28 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.375e-05/0.4813, allocations: 79.22 kB / 0.5725 GB, free: 40.2 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4813, allocations: 1.531 kB / 0.5725 GB, free: 40.2 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001965/0.4815, allocations: 2.031 kB / 0.5725 GB, free: 40.2 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 9.805e-05/0.4816, allocations: 105.6 kB / 0.5726 GB, free: 40.1 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.623e-05/0.4817, allocations: 11.62 kB / 0.5726 GB, free: 40.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4817, allocations: 0 / 0.5726 GB, free: 40.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.498e-06/0.4818, allocations: 3.406 kB / 0.5726 GB, free: 40.09 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.4819, allocations: 5.031 kB / 0.5726 GB, free: 40.09 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00019/0.4821, allocations: 126.5 kB / 0.5727 GB, free: 39.94 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.4822, allocations: 0.6751 MB / 0.5734 GB, free: 39.24 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.4822, allocations: 8.625 kB / 0.5734 GB, free: 39.23 MB / 462.3 MB Notification: Performance of SimCode: time 2.41e-07/0.4822, allocations: 128 / 0.5734 GB, free: 39.23 MB / 462.3 MB Notification: Performance of Templates: time 0.001743/0.484, allocations: 442.1 kB / 0.5738 GB, free: 39.02 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches