Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001281/0.001281, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.001227/0.001227, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.311/1.311, allocations: 222.9 MB / 241.8 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.8838/0.8838, allocations: 119.3 MB / 411.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 0.4909 GB, free: 14.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.493, allocations: 80.68 MB / 0.5697 GB, free: 43.49 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001431/0.4945, allocations: 479.8 kB / 0.5701 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000191/0.4947, allocations: 27.67 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.284e-05/0.4947, allocations: 1.469 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.4947, allocations: 0 / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.4948, allocations: 3.984 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.4949, allocations: 6.469 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.35e-05/0.4949, allocations: 2.25 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.495, allocations: 1.031 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.61e-05/0.495, allocations: 1.125 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.495, allocations: 4.875 kB / 0.5702 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.4951, allocations: 5.094 kB / 0.5702 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.648e-05/0.4951, allocations: 8.203 kB / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.4951, allocations: 5.016 kB / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.4952, allocations: 5.406 kB / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.589e-05/0.4952, allocations: 6.141 kB / 0.5702 GB, free: 43.08 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4952, allocations: 1.031 kB / 0.5702 GB, free: 43.08 MB / 462.3 MB Notification: Performance of FrontEnd: time 8.12e-07/0.4952, allocations: 0 / 0.5702 GB, free: 43.08 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.4952, allocations: 0 / 0.5702 GB, free: 43.08 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.0002017/0.4955, allocations: 311.5 kB / 0.5705 GB, free: 42.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4955, allocations: 9.406 kB / 0.5705 GB, free: 42.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.4955, allocations: 10.02 kB / 0.5705 GB, free: 42.72 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.218e-05/0.4956, allocations: 168.3 kB / 0.5707 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.4956, allocations: 1.344 kB / 0.5707 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.4956, allocations: 5.375 kB / 0.5707 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.162e-05/0.4957, allocations: 29.58 kB / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.4957, allocations: 192 / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.4957, allocations: 3.938 kB / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4957, allocations: 1.094 kB / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.722e-05/0.4958, allocations: 2.938 kB / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.29e-05/0.4959, allocations: 156.3 kB / 0.5709 GB, free: 42.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.04e-05/0.4959, allocations: 23.02 kB / 0.5709 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.4959, allocations: 10.98 kB / 0.5709 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/0.4961, allocations: 91.94 kB / 0.571 GB, free: 42.14 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.4962, allocations: 34.5 kB / 0.571 GB, free: 42.1 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4962, allocations: 1.125 kB / 0.571 GB, free: 42.1 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001189/0.4963, allocations: 45.5 kB / 0.5711 GB, free: 42.05 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.4963, allocations: 56.59 kB / 0.5711 GB, free: 41.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.645e-05/0.4963, allocations: 89.86 kB / 0.5712 GB, free: 41.89 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.422e-06/0.4963, allocations: 29.64 kB / 0.5712 GB, free: 41.86 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.063e-05/0.4964, allocations: 81.2 kB / 0.5713 GB, free: 41.77 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.4964, allocations: 5.094 kB / 0.5713 GB, free: 41.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.4964, allocations: 11.97 kB / 0.5713 GB, free: 41.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.13e-05/0.4965, allocations: 320.1 kB / 0.5716 GB, free: 41.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.4965, allocations: 1.094 kB / 0.5716 GB, free: 41.43 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.4965, allocations: 6.328 kB / 0.5716 GB, free: 41.43 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.4965, allocations: 9.047 kB / 0.5717 GB, free: 41.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4965, allocations: 1.312 kB / 0.5717 GB, free: 41.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.691e-05/0.4966, allocations: 37.08 kB / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.4966, allocations: 5.125 kB / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4966, allocations: 0 / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.4966, allocations: 5.312 kB / 0.5717 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.4967, allocations: 14.2 kB / 0.5717 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4967, allocations: 1.062 kB / 0.5717 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.4967, allocations: 1.969 kB / 0.5717 GB, free: 41.37 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.4967, allocations: 1.188 kB / 0.5717 GB, free: 41.37 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.178e-05/0.4968, allocations: 107.1 kB / 0.5718 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.4968, allocations: 1.219 kB / 0.5718 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.954e-05/0.4969, allocations: 48.59 kB / 0.5719 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4969, allocations: 4.031 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4969, allocations: 0 / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4969, allocations: 1.594 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.919e-05/0.4969, allocations: 150.7 kB / 0.572 GB, free: 41.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4969, allocations: 1.156 kB / 0.572 GB, free: 41.01 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.923e-05/0.497, allocations: 6.234 kB / 0.572 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.497, allocations: 1.125 kB / 0.572 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.497, allocations: 7.875 kB / 0.572 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.497, allocations: 1 kB / 0.572 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.497, allocations: 0 / 0.572 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.51e-05/0.497, allocations: 61.64 kB / 0.5721 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.4971, allocations: 86.12 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.4971, allocations: 5.156 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.4971, allocations: 0 / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.4971, allocations: 1 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.4971, allocations: 1.125 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.073e-05/0.4971, allocations: 79.22 kB / 0.5723 GB, free: 40.74 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4971, allocations: 4.031 kB / 0.5723 GB, free: 40.74 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002121/0.4974, allocations: 3.469 kB / 0.5723 GB, free: 40.74 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 8.936e-05/0.4975, allocations: 101.2 kB / 0.5724 GB, free: 40.64 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.865e-05/0.4975, allocations: 14.52 kB / 0.5724 GB, free: 40.63 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4975, allocations: 0.9688 kB / 0.5724 GB, free: 40.63 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.4975, allocations: 3.062 kB / 0.5724 GB, free: 40.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.4977, allocations: 6.812 kB / 0.5724 GB, free: 40.63 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/0.4978, allocations: 117.3 kB / 0.5725 GB, free: 40.49 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.801e-05/0.4979, allocations: 0.675 MB / 0.5732 GB, free: 39.79 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.4979, allocations: 9.094 kB / 0.5732 GB, free: 39.78 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.498, allocations: 0 / 0.5732 GB, free: 39.78 MB / 462.3 MB Notification: Performance of Templates: time 0.001461/0.4994, allocations: 429.4 kB / 0.5736 GB, free: 39.58 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches