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.001305/0.001305, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.001319/0.001319, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.269/1.269, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8612/0.8612, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 60.14 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4277/0.4289, allocations: 80.69 MB / 0.5697 GB, free: 43.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001473/0.4304, allocations: 404.6 kB / 0.5701 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001713/0.4306, allocations: 31.53 kB / 0.5702 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.4307, allocations: 0 / 0.5702 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.4307, allocations: 0 / 0.5702 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.4308, allocations: 1.094 kB / 0.5702 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.4309, allocations: 10.17 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.892e-05/0.431, allocations: 6.156 kB / 0.5702 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.431, allocations: 9.172 kB / 0.5702 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.593e-05/0.431, allocations: 1.031 kB / 0.5702 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.53e-05/0.4311, allocations: 2.125 kB / 0.5702 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.4311, allocations: 0 / 0.5702 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.4311, allocations: 13.3 kB / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.4312, allocations: 4 kB / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.4312, allocations: 1.062 kB / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.958e-05/0.4313, allocations: 8.266 kB / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.4313, allocations: 0 / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4313, allocations: 1.062 kB / 0.5702 GB, free: 43.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.4313, allocations: 0 / 0.5702 GB, free: 43.09 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.0002016/0.4315, allocations: 321.8 kB / 0.5705 GB, free: 42.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4315, allocations: 9.656 kB / 0.5705 GB, free: 42.73 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.4315, allocations: 0.9375 kB / 0.5705 GB, free: 42.73 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.902e-05/0.4316, allocations: 165.4 kB / 0.5707 GB, free: 42.53 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-06/0.4316, allocations: 384 / 0.5707 GB, free: 42.53 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.4316, allocations: 1.406 kB / 0.5707 GB, free: 42.53 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.001e-05/0.4317, allocations: 33.48 kB / 0.5707 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.4317, allocations: 4.125 kB / 0.5707 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.4317, allocations: 9 kB / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4317, allocations: 0 / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.4318, allocations: 2.594 kB / 0.5707 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.739e-05/0.4319, allocations: 156.5 kB / 0.5709 GB, free: 42.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.311e-05/0.4319, allocations: 23.42 kB / 0.5709 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.4319, allocations: 7.609 kB / 0.5709 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.4321, allocations: 86.97 kB / 0.571 GB, free: 42.15 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.15e-05/0.4321, allocations: 35.72 kB / 0.571 GB, free: 42.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.4321, allocations: 0 / 0.571 GB, free: 42.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001066/0.4322, allocations: 50.12 kB / 0.5711 GB, free: 42.06 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.4323, allocations: 52.53 kB / 0.5711 GB, free: 42 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.268e-05/0.4323, allocations: 89.86 kB / 0.5712 GB, free: 41.9 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.599e-06/0.4323, allocations: 25.7 kB / 0.5712 GB, free: 41.87 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-06/0.4323, allocations: 84.12 kB / 0.5713 GB, free: 41.78 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.4323, allocations: 9.25 kB / 0.5713 GB, free: 41.77 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.4324, allocations: 15.94 kB / 0.5713 GB, free: 41.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.417e-05/0.4324, allocations: 311.9 kB / 0.5716 GB, free: 41.44 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.4324, allocations: 2.312 kB / 0.5716 GB, free: 41.44 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-06/0.4324, allocations: 5.172 kB / 0.5716 GB, free: 41.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.576e-05/0.4325, allocations: 18.33 kB / 0.5717 GB, free: 41.42 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4325, allocations: 0 / 0.5717 GB, free: 41.42 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.582e-05/0.4325, allocations: 37.98 kB / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.4325, allocations: 5.625 kB / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.4325, allocations: 0 / 0.5717 GB, free: 41.39 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.4326, allocations: 3.938 kB / 0.5717 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.121e-05/0.4326, allocations: 3.094 kB / 0.5717 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.4326, allocations: 3.984 kB / 0.5717 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.4326, allocations: 3.5 kB / 0.5717 GB, free: 41.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.4326, allocations: 4 kB / 0.5717 GB, free: 41.38 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.368e-05/0.4327, allocations: 111.7 kB / 0.5718 GB, free: 41.26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.4327, allocations: 6 kB / 0.5718 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.877e-05/0.4328, allocations: 51.12 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4328, allocations: 0 / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4328, allocations: 1.344 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4328, allocations: 0 / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.326e-05/0.4328, allocations: 143.9 kB / 0.572 GB, free: 41.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4328, allocations: 0 / 0.572 GB, free: 41.01 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.4329, allocations: 7.703 kB / 0.572 GB, free: 41.01 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4329, allocations: 0 / 0.572 GB, free: 41.01 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.4329, allocations: 7.875 kB / 0.572 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4329, allocations: 9.438 kB / 0.572 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4329, allocations: 0 / 0.572 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.836e-05/0.4329, allocations: 61.61 kB / 0.5721 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.433, allocations: 82.41 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.433, allocations: 3.938 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.151e-05/0.433, allocations: 1.156 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.433, allocations: 5.188 kB / 0.5722 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.433, allocations: 4.031 kB / 0.5722 GB, free: 40.81 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.227e-06/0.433, allocations: 76.5 kB / 0.5723 GB, free: 40.74 MB / 462.3 MB Notification: Performance of sort global known variables: time 8.1e-08/0.433, allocations: 0 / 0.5723 GB, free: 40.74 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001995/0.4332, allocations: 2.406 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.331e-05/0.4333, allocations: 98.22 kB / 0.5724 GB, free: 40.64 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.887e-05/0.4334, allocations: 11.05 kB / 0.5724 GB, free: 40.64 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4334, allocations: 0 / 0.5724 GB, free: 40.64 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.4334, allocations: 12.59 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.000122/0.4336, allocations: 9.547 kB / 0.5724 GB, free: 40.62 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001546/0.4337, allocations: 89.48 kB / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.433e-05/0.4338, allocations: 0.6748 MB / 0.5731 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.045e-05/0.4338, allocations: 1.906 kB / 0.5731 GB, free: 39.82 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.096e-05/0.4339, allocations: 7.438 kB / 0.5732 GB, free: 39.81 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4339, allocations: 0 / 0.5732 GB, free: 39.81 MB / 462.3 MB Notification: Performance of Templates: time 0.001871/0.4357, allocations: 291.8 kB / 0.5734 GB, free: 39.66 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