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.0007541/0.0007542, allocations: 94.59 kB / 16.65 MB, free: 6.602 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.000814/0.000814, allocations: 176 kB / 17.56 MB, free: 6.199 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.29/1.29, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9213/0.9213, allocations: 120.5 MB / 413.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.000421, allocations: 8 kB / 0.4949 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.5268, allocations: 82.84 MB / 0.5758 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0003937/0.5273, allocations: 116.3 kB / 0.5759 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.5275, allocations: 36.08 kB / 0.576 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.112e-05/0.5275, allocations: 2.812 kB / 0.576 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.5275, allocations: 3.938 kB / 0.576 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.261e-05/0.5276, allocations: 0 / 0.576 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.5277, allocations: 3.125 kB / 0.576 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.258e-05/0.5277, allocations: 1.281 kB / 0.576 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.5278, allocations: 5.188 kB / 0.576 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.5278, allocations: 9.078 kB / 0.576 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.5279, allocations: 5.234 kB / 0.576 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.5279, allocations: 1.562 kB / 0.576 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.332e-05/0.5279, allocations: 8.531 kB / 0.576 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.528, allocations: 3.938 kB / 0.576 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.528, allocations: 27.39 kB / 0.576 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.858e-05/0.528, allocations: 10.89 kB / 0.576 GB, free: 41.78 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.528, allocations: 1.25 kB / 0.576 GB, free: 41.78 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5281, allocations: 0 / 0.576 GB, free: 41.78 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.5281, allocations: 4 kB / 0.576 GB, free: 41.77 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.0001743/0.5282, allocations: 313.8 kB / 0.5763 GB, free: 41.42 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.5283, allocations: 10.16 kB / 0.5763 GB, free: 41.42 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.5283, allocations: 0.9375 kB / 0.5763 GB, free: 41.42 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.245e-05/0.5284, allocations: 161.8 kB / 0.5765 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.5284, allocations: 4.312 kB / 0.5765 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.5284, allocations: 1.469 kB / 0.5765 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.431e-05/0.5285, allocations: 36.97 kB / 0.5765 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.5285, allocations: 192 / 0.5765 GB, free: 41.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.5285, allocations: 9.281 kB / 0.5765 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.5285, allocations: 0 / 0.5765 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.5285, allocations: 4.062 kB / 0.5766 GB, free: 41.17 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.072e-05/0.5286, allocations: 147.2 kB / 0.5767 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.5287, allocations: 26.81 kB / 0.5767 GB, free: 40.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.5287, allocations: 8.203 kB / 0.5767 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.5289, allocations: 94.5 kB / 0.5768 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.183e-05/0.5289, allocations: 32.44 kB / 0.5768 GB, free: 40.8 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5289, allocations: 0 / 0.5768 GB, free: 40.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001068/0.529, allocations: 42.7 kB / 0.5769 GB, free: 40.76 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.731e-05/0.5291, allocations: 51.41 kB / 0.5769 GB, free: 40.7 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.426e-05/0.5291, allocations: 89.86 kB / 0.577 GB, free: 40.6 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.5291, allocations: 25.7 kB / 0.577 GB, free: 40.57 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.486e-06/0.5291, allocations: 81.92 kB / 0.5771 GB, free: 40.48 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.5291, allocations: 12.03 kB / 0.5771 GB, free: 40.47 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.5291, allocations: 13.7 kB / 0.5772 GB, free: 40.45 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.5292, allocations: 312.7 kB / 0.5774 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.5292, allocations: 5.781 kB / 0.5775 GB, free: 40.14 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.5292, allocations: 1.781 kB / 0.5775 GB, free: 40.14 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.413e-05/0.5292, allocations: 14.23 kB / 0.5775 GB, free: 40.12 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5293, allocations: 0 / 0.5775 GB, free: 40.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.918e-05/0.5293, allocations: 36.91 kB / 0.5775 GB, free: 40.09 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.5293, allocations: 11.75 kB / 0.5775 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5293, allocations: 0 / 0.5775 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.5293, allocations: 5.719 kB / 0.5775 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.151e-05/0.5294, allocations: 1.781 kB / 0.5775 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.5294, allocations: 1.812 kB / 0.5775 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.5294, allocations: 13.84 kB / 0.5775 GB, free: 40.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-06/0.5294, allocations: 0 / 0.5775 GB, free: 40.07 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.655e-05/0.5295, allocations: 107.6 kB / 0.5776 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.5295, allocations: 1.812 kB / 0.5776 GB, free: 39.95 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.273e-05/0.5296, allocations: 52.44 kB / 0.5777 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5296, allocations: 0 / 0.5777 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5296, allocations: 0 / 0.5777 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.5296, allocations: 0 / 0.5777 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.769e-05/0.5296, allocations: 151.9 kB / 0.5778 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.5296, allocations: 0 / 0.5778 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.5297, allocations: 7.406 kB / 0.5778 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.5297, allocations: 0 / 0.5778 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.5297, allocations: 5.344 kB / 0.5778 GB, free: 39.7 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5297, allocations: 4.031 kB / 0.5779 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5297, allocations: 0 / 0.5779 GB, free: 39.69 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.173e-05/0.5298, allocations: 78.11 kB / 0.5779 GB, free: 39.61 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.367e-05/0.5298, allocations: 78.39 kB / 0.578 GB, free: 39.51 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.5298, allocations: 3.938 kB / 0.578 GB, free: 39.51 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.116e-05/0.5298, allocations: 1.344 kB / 0.578 GB, free: 39.51 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.5298, allocations: 0 / 0.578 GB, free: 39.51 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.5298, allocations: 5.281 kB / 0.578 GB, free: 39.5 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.879e-06/0.5298, allocations: 75.28 kB / 0.5781 GB, free: 39.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5298, allocations: 1.156 kB / 0.5781 GB, free: 39.43 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001685/0.53, allocations: 2.5 kB / 0.5781 GB, free: 39.43 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 0.0001134/0.5301, allocations: 101.3 kB / 0.5782 GB, free: 39.33 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.074e-05/0.5302, allocations: 10.34 kB / 0.5782 GB, free: 39.33 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5302, allocations: 1.156 kB / 0.5782 GB, free: 39.33 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.998e-06/0.5302, allocations: 7.781 kB / 0.5782 GB, free: 39.32 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.5304, allocations: 6.312 kB / 0.5782 GB, free: 39.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.5305, allocations: 90 kB / 0.5783 GB, free: 39.21 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.077e-05/0.5306, allocations: 0.6719 MB / 0.579 GB, free: 38.52 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.971e-05/0.5306, allocations: 1.156 kB / 0.579 GB, free: 38.52 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.024e-05/0.5306, allocations: 8.625 kB / 0.579 GB, free: 38.51 MB / 462.3 MB Notification: Performance of SimCode: time 2.11e-07/0.5306, allocations: 0 / 0.579 GB, free: 38.51 MB / 462.3 MB Notification: Performance of Templates: time 0.001849/0.5325, allocations: 276.9 kB / 0.5792 GB, free: 38.36 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