Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.00174/0.00174, allocations: 117.9 kB / 17.12 MB, free: 5.93 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.001699/0.001699, allocations: 193.3 kB / 18.05 MB, free: 5.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.527/0.527, allocations: 228.4 MB / 247.2 MB, free: 5.242 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6386/0.6386, allocations: 120.7 MB / 420.8 MB, free: 7.227 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.05 kB / 0.588 GB, free: 49.07 MB / 478.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1044, allocations: 84.65 MB / 0.6707 GB, free: 2.805 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001147/0.1056, allocations: 408 kB / 0.6711 GB, free: 2.41 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001715/0.1058, allocations: 35.88 kB / 0.6711 GB, free: 2.375 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.1058, allocations: 0 / 0.6711 GB, free: 2.375 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.1058, allocations: 0 / 0.6711 GB, free: 2.375 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.1058, allocations: 0 / 0.6711 GB, free: 2.375 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001144/0.106, allocations: 11.94 kB / 0.6711 GB, free: 2.363 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 3.997e-05/0.106, allocations: 3.984 kB / 0.6711 GB, free: 2.359 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.449e-05/0.106, allocations: 4 kB / 0.6711 GB, free: 2.355 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.106, allocations: 0 / 0.6711 GB, free: 2.355 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 3.112e-05/0.1061, allocations: 0 / 0.6711 GB, free: 2.355 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.924e-06/0.1061, allocations: 0 / 0.6711 GB, free: 2.355 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.153e-05/0.1061, allocations: 19.98 kB / 0.6711 GB, free: 2.336 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.1061, allocations: 3.984 kB / 0.6711 GB, free: 2.332 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.1062, allocations: 3.938 kB / 0.6711 GB, free: 2.328 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 5.735e-05/0.1062, allocations: 7.938 kB / 0.6712 GB, free: 2.32 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1062, allocations: 0 / 0.6712 GB, free: 2.32 MB / 0.4983 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1062, allocations: 0 / 0.6712 GB, free: 2.32 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.1062, allocations: 0 / 0.6712 GB, free: 2.32 MB / 0.4983 GB 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.0002917/0.1065, allocations: 319.5 kB / 0.6715 GB, free: 1.957 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.1065, allocations: 12.03 kB / 0.6715 GB, free: 1.945 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.1066, allocations: 4.891 kB / 0.6715 GB, free: 1.941 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.915e-05/0.1067, allocations: 164.4 kB / 0.6716 GB, free: 1.742 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-06/0.1067, allocations: 384 / 0.6716 GB, free: 1.742 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1067, allocations: 4.359 kB / 0.6716 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.1068, allocations: 30.45 kB / 0.6717 GB, free: 1.703 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.1068, allocations: 0 / 0.6717 GB, free: 1.703 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.1068, allocations: 3.938 kB / 0.6717 GB, free: 1.699 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1068, allocations: 4 kB / 0.6717 GB, free: 1.695 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.1068, allocations: 7.938 kB / 0.6717 GB, free: 1.688 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.1069, allocations: 149.7 kB / 0.6718 GB, free: 1.492 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.315e-05/0.107, allocations: 29.72 kB / 0.6718 GB, free: 1.457 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.107, allocations: 4.859 kB / 0.6719 GB, free: 1.449 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.1072, allocations: 89.16 kB / 0.6719 GB, free: 1.344 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1072, allocations: 30.56 kB / 0.672 GB, free: 1.305 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.1072, allocations: 0 / 0.672 GB, free: 1.305 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001112/0.1073, allocations: 49.67 kB / 0.672 GB, free: 1.25 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.1073, allocations: 59.39 kB / 0.6721 GB, free: 1.18 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.75e-05/0.1074, allocations: 89.86 kB / 0.6722 GB, free: 1.082 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.1074, allocations: 25.7 kB / 0.6722 GB, free: 1.051 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.1074, allocations: 80.14 kB / 0.6723 GB, free: 0.9688 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.1074, allocations: 7.891 kB / 0.6723 GB, free: 0.9609 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.1075, allocations: 17.72 kB / 0.6723 GB, free: 0.9375 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1076, allocations: 310.8 kB / 0.6726 GB, free: 0.625 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.1076, allocations: 4.031 kB / 0.6726 GB, free: 0.6211 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.1076, allocations: 4 kB / 0.6726 GB, free: 0.6172 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.1076, allocations: 16.84 kB / 0.6726 GB, free: 0.5977 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1076, allocations: 3.938 kB / 0.6726 GB, free: 0.5938 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.05e-05/0.1077, allocations: 37.64 kB / 0.6726 GB, free: 0.5508 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.1077, allocations: 7.594 kB / 0.6726 GB, free: 0.5469 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.1077, allocations: 0 / 0.6726 GB, free: 0.5469 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1077, allocations: 7.938 kB / 0.6727 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.541e-05/0.1077, allocations: 0 / 0.6727 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.1077, allocations: 4.094 kB / 0.6727 GB, free: 0.5352 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.005e-05/0.1078, allocations: 4 kB / 0.6727 GB, free: 0.5312 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-06/0.1078, allocations: 0 / 0.6727 GB, free: 0.5312 MB / 0.4983 GB 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 7.112e-05/0.1078, allocations: 114.2 kB / 0.6728 GB, free: 420 kB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.1078, allocations: 0 / 0.6728 GB, free: 420 kB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.1079, allocations: 52.7 kB / 0.6728 GB, free: 360 kB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1079, allocations: 0 / 0.6728 GB, free: 360 kB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1079, allocations: 4.031 kB / 0.6728 GB, free: 356 kB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1079, allocations: 7.984 kB / 0.6728 GB, free: 348 kB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.314e-05/0.108, allocations: 145.6 kB / 0.673 GB, free: 152 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.108, allocations: 0 / 0.673 GB, free: 152 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.108, allocations: 4 kB / 0.673 GB, free: 148 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.108, allocations: 0 / 0.673 GB, free: 148 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.108, allocations: 3.938 kB / 0.673 GB, free: 144 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.108, allocations: 0 / 0.673 GB, free: 144 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.108, allocations: 0 / 0.673 GB, free: 144 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.367e-05/0.1081, allocations: 69.12 kB / 0.673 GB, free: 56 kB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1082, allocations: 77.11 kB / 0.6731 GB, free: 15.96 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.1082, allocations: 7.922 kB / 0.6731 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.1082, allocations: 4 kB / 0.6731 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.1082, allocations: 3.984 kB / 0.6731 GB, free: 15.95 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1082, allocations: 4 kB / 0.6731 GB, free: 15.94 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.1082, allocations: 79.22 kB / 0.6732 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.1082, allocations: 0 / 0.6732 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000153/0.1084, allocations: 4 kB / 0.6732 GB, free: 15.86 MB / 0.5139 GB 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.33e-05/0.1085, allocations: 100.6 kB / 0.6733 GB, free: 15.75 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 6.278e-05/0.1085, allocations: 8 kB / 0.6733 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.1085, allocations: 0 / 0.6733 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.198e-05/0.1085, allocations: 11.98 kB / 0.6733 GB, free: 15.73 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001012/0.1086, allocations: 7.875 kB / 0.6733 GB, free: 15.72 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001452/0.1088, allocations: 80.97 kB / 0.6734 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1091, allocations: 0.6806 MB / 0.6741 GB, free: 14.91 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.1091, allocations: 11.92 kB / 0.6741 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.1091, allocations: 7.438 kB / 0.6741 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of SimCode: time 3.51e-07/0.1091, allocations: 0 / 0.6741 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of Templates: time 0.002557/0.1117, allocations: 347.1 kB / 0.6744 GB, free: 14.55 MB / 0.5139 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches