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.001172/0.001172, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.001107/0.001107, allocations: 194 kB / 17.55 MB, free: 5.93 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.193/1.193, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7856/0.7856, allocations: 119.3 MB / 410.7 MB, free: 9.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 56.09 kB / 0.4904 GB, free: 14.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3902, allocations: 80.68 MB / 0.5692 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001276/0.3915, allocations: 463.1 kB / 0.5697 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.3917, allocations: 38.28 kB / 0.5697 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.527e-05/0.3917, allocations: 0 / 0.5697 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.3917, allocations: 1.406 kB / 0.5697 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.3918, allocations: 0 / 0.5697 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001188/0.3919, allocations: 6.641 kB / 0.5697 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.125e-05/0.3919, allocations: 6.438 kB / 0.5697 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.392, allocations: 1.312 kB / 0.5697 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.392, allocations: 1.344 kB / 0.5697 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.392, allocations: 7.984 kB / 0.5697 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.216e-06/0.392, allocations: 5.312 kB / 0.5697 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.3921, allocations: 13.14 kB / 0.5698 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-06/0.3921, allocations: 0 / 0.5698 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.652e-05/0.3921, allocations: 1.406 kB / 0.5698 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.798e-05/0.3922, allocations: 7.672 kB / 0.5698 GB, free: 43.07 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3922, allocations: 0 / 0.5698 GB, free: 43.07 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3922, allocations: 1.406 kB / 0.5698 GB, free: 43.07 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3922, allocations: 0 / 0.5698 GB, free: 43.07 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.0001691/0.3924, allocations: 318.8 kB / 0.5701 GB, free: 42.71 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.3924, allocations: 9.781 kB / 0.5701 GB, free: 42.71 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.3924, allocations: 1.969 kB / 0.5701 GB, free: 42.71 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.035e-05/0.3925, allocations: 164.4 kB / 0.5702 GB, free: 42.51 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-06/0.3925, allocations: 1.438 kB / 0.5702 GB, free: 42.51 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.3925, allocations: 1.531 kB / 0.5702 GB, free: 42.51 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.587e-05/0.3926, allocations: 32.48 kB / 0.5703 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.3926, allocations: 5.219 kB / 0.5703 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.3926, allocations: 3.938 kB / 0.5703 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3926, allocations: 0 / 0.5703 GB, free: 42.47 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.3926, allocations: 11.22 kB / 0.5703 GB, free: 42.46 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.919e-05/0.3927, allocations: 147.9 kB / 0.5704 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.319e-05/0.3928, allocations: 23.92 kB / 0.5705 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.3928, allocations: 6.984 kB / 0.5705 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.393, allocations: 87.5 kB / 0.5705 GB, free: 42.14 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.146e-05/0.393, allocations: 35.69 kB / 0.5706 GB, free: 42.09 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.393, allocations: 0 / 0.5706 GB, free: 42.09 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 9.862e-05/0.3931, allocations: 50.25 kB / 0.5706 GB, free: 42.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.3931, allocations: 51.41 kB / 0.5707 GB, free: 41.98 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.173e-05/0.3931, allocations: 91.36 kB / 0.5708 GB, free: 41.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-06/0.3931, allocations: 25.7 kB / 0.5708 GB, free: 41.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-06/0.3931, allocations: 80.14 kB / 0.5709 GB, free: 41.77 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3932, allocations: 9.375 kB / 0.5709 GB, free: 41.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.3932, allocations: 16 kB / 0.5709 GB, free: 41.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.244e-05/0.3932, allocations: 318.8 kB / 0.5712 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.3933, allocations: 2.281 kB / 0.5712 GB, free: 41.43 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.3933, allocations: 1.938 kB / 0.5712 GB, free: 41.43 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.3933, allocations: 17.55 kB / 0.5712 GB, free: 41.41 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3933, allocations: 0 / 0.5712 GB, free: 41.41 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.339e-05/0.3933, allocations: 42.67 kB / 0.5713 GB, free: 41.37 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.3934, allocations: 5.156 kB / 0.5713 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.3934, allocations: 4.094 kB / 0.5713 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.017e-06/0.3934, allocations: 5.656 kB / 0.5713 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.978e-05/0.3934, allocations: 10.5 kB / 0.5713 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3934, allocations: 0 / 0.5713 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.3935, allocations: 3.188 kB / 0.5713 GB, free: 41.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.3935, allocations: 0 / 0.5713 GB, free: 41.36 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.297e-05/0.3935, allocations: 108.4 kB / 0.5714 GB, free: 41.24 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-06/0.3935, allocations: 0 / 0.5714 GB, free: 41.24 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.3936, allocations: 55.78 kB / 0.5714 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.3936, allocations: 1.188 kB / 0.5714 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3936, allocations: 0 / 0.5714 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.3936, allocations: 1.094 kB / 0.5714 GB, free: 41.18 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.087e-05/0.3936, allocations: 143.9 kB / 0.5716 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3936, allocations: 0 / 0.5716 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.3937, allocations: 10.33 kB / 0.5716 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3937, allocations: 5.094 kB / 0.5716 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.3937, allocations: 3.938 kB / 0.5716 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.3937, allocations: 1.156 kB / 0.5716 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3937, allocations: 4.031 kB / 0.5716 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.738e-05/0.3937, allocations: 62.73 kB / 0.5717 GB, free: 40.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.3938, allocations: 81.09 kB / 0.5717 GB, free: 40.81 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.3938, allocations: 5.25 kB / 0.5717 GB, free: 40.8 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.3938, allocations: 0 / 0.5717 GB, free: 40.8 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.3938, allocations: 1.156 kB / 0.5717 GB, free: 40.8 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.3938, allocations: 1.125 kB / 0.5717 GB, free: 40.8 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.117e-06/0.3938, allocations: 79.31 kB / 0.5718 GB, free: 40.73 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.3938, allocations: 0 / 0.5718 GB, free: 40.73 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001649/0.394, allocations: 3.125 kB / 0.5718 GB, free: 40.73 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 6.993e-05/0.3941, allocations: 106 kB / 0.5719 GB, free: 40.62 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.755e-05/0.3941, allocations: 14.14 kB / 0.5719 GB, free: 40.62 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3941, allocations: 0 / 0.5719 GB, free: 40.62 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.3942, allocations: 8.156 kB / 0.5719 GB, free: 40.61 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.3943, allocations: 1.156 kB / 0.5719 GB, free: 40.61 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001278/0.3944, allocations: 109.9 kB / 0.572 GB, free: 40.49 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.576e-05/0.3945, allocations: 0.67 MB / 0.5727 GB, free: 39.79 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.898e-05/0.3945, allocations: 1.094 kB / 0.5727 GB, free: 39.79 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-06/0.3945, allocations: 8.875 kB / 0.5727 GB, free: 39.79 MB / 462.3 MB Notification: Performance of SimCode: time 2.1e-07/0.3945, allocations: 0 / 0.5727 GB, free: 39.79 MB / 462.3 MB Notification: Performance of Templates: time 0.001595/0.3961, allocations: 295.8 kB / 0.573 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches