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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008049/0.0008049, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007569/0.0007569, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8352/0.8352, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.5503/0.5503, allocations: 88.07 MB / 348.8 MB, free: 14.36 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.523 GB, free: 4.066 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.296e-05, allocations: 6.781 kB / 0.523 GB, free: 4.059 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0007774/0.0007904, allocations: 400.4 kB / 0.5233 GB, free: 3.672 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001616/0.0009519, allocations: 35.11 kB / 0.5234 GB, free: 3.641 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.0009731, allocations: 0 / 0.5234 GB, free: 3.641 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.0009869, allocations: 0 / 0.5234 GB, free: 3.641 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.201e-05/0.001039, allocations: 0 / 0.5234 GB, free: 3.641 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.001209, allocations: 7.938 kB / 0.5234 GB, free: 3.633 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.001338, allocations: 4 kB / 0.5234 GB, free: 3.629 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.001388, allocations: 7.984 kB / 0.5234 GB, free: 3.621 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.001417, allocations: 0 / 0.5234 GB, free: 3.621 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.649e-05/0.001463, allocations: 8 kB / 0.5234 GB, free: 3.613 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.001476, allocations: 0 / 0.5234 GB, free: 3.613 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.344e-05/0.00153, allocations: 7.984 kB / 0.5234 GB, free: 3.605 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.001542, allocations: 7.922 kB / 0.5234 GB, free: 3.598 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.001557, allocations: 4 kB / 0.5234 GB, free: 3.594 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 7.834e-05/0.001635, allocations: 8 kB / 0.5234 GB, free: 3.586 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.001637, allocations: 0 / 0.5234 GB, free: 3.586 MB / 442.8 MB Notification: Performance of FrontEnd: time 8.31e-07/0.001637, allocations: 0 / 0.5234 GB, free: 3.586 MB / 442.8 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.001641, allocations: 0 / 0.5234 GB, free: 3.586 MB / 442.8 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.00023/0.001871, allocations: 246.4 kB / 0.5237 GB, free: 3.312 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.001911, allocations: 11.97 kB / 0.5237 GB, free: 3.301 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.754e-05/0.001939, allocations: 34.75 kB / 0.5237 GB, free: 3.258 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.038e-05/0.001959, allocations: 0.9375 kB / 0.5237 GB, free: 3.258 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.326e-05/0.002012, allocations: 101.8 kB / 0.5238 GB, free: 3.133 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.002022, allocations: 384 / 0.5238 GB, free: 3.133 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.002029, allocations: 4.375 kB / 0.5238 GB, free: 3.129 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.611e-05/0.002115, allocations: 38.19 kB / 0.5238 GB, free: 3.086 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.002122, allocations: 192 / 0.5238 GB, free: 3.086 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.002129, allocations: 384 / 0.5238 GB, free: 3.086 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.002135, allocations: 12.12 kB / 0.5239 GB, free: 3.074 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.002164, allocations: 0 / 0.5239 GB, free: 3.074 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.00227, allocations: 120.8 kB / 0.524 GB, free: 2.914 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/0.00232, allocations: 22.59 kB / 0.524 GB, free: 2.883 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.002337, allocations: 8.922 kB / 0.524 GB, free: 2.871 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000171/0.002508, allocations: 11.98 kB / 0.524 GB, free: 2.859 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.002527, allocations: 38.5 kB / 0.5241 GB, free: 2.812 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.002528, allocations: 0 / 0.5241 GB, free: 2.812 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001226/0.002651, allocations: 33.8 kB / 0.5241 GB, free: 2.773 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.002681, allocations: 59.38 kB / 0.5241 GB, free: 2.703 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.821e-05/0.002709, allocations: 93.86 kB / 0.5242 GB, free: 2.602 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 9.026e-06/0.002718, allocations: 25.7 kB / 0.5243 GB, free: 2.57 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.002736, allocations: 84.14 kB / 0.5243 GB, free: 2.484 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.002763, allocations: 11.88 kB / 0.5243 GB, free: 2.473 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.002785, allocations: 13.72 kB / 0.5244 GB, free: 2.453 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.00286, allocations: 310.8 kB / 0.5247 GB, free: 2.141 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.079e-05/0.002871, allocations: 4 kB / 0.5247 GB, free: 2.137 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-06/0.002877, allocations: 4 kB / 0.5247 GB, free: 2.133 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.002903, allocations: 16.86 kB / 0.5247 GB, free: 2.113 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.002905, allocations: 0 / 0.5247 GB, free: 2.113 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.602e-05/0.002941, allocations: 41.69 kB / 0.5247 GB, free: 2.066 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.002951, allocations: 4 kB / 0.5247 GB, free: 2.062 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.002955, allocations: 0 / 0.5247 GB, free: 2.062 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.002965, allocations: 4 kB / 0.5247 GB, free: 2.059 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.003004, allocations: 0 / 0.5247 GB, free: 2.059 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.003009, allocations: 3.938 kB / 0.5247 GB, free: 2.055 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-06/0.003016, allocations: 4 kB / 0.5247 GB, free: 2.051 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.00302, allocations: 0 / 0.5247 GB, free: 2.051 MB / 442.8 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.595e-05/0.003066, allocations: 110.5 kB / 0.5248 GB, free: 1.934 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-06/0.003068, allocations: 0 / 0.5248 GB, free: 1.934 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.003136, allocations: 52.73 kB / 0.5249 GB, free: 1.875 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.003137, allocations: 4 kB / 0.5249 GB, free: 1.871 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.003143, allocations: 3.938 kB / 0.5249 GB, free: 1.867 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.003145, allocations: 3.938 kB / 0.5249 GB, free: 1.863 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.865e-05/0.003204, allocations: 120.8 kB / 0.525 GB, free: 1.703 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.003205, allocations: 0 / 0.525 GB, free: 1.703 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-06/0.003213, allocations: 4 kB / 0.525 GB, free: 1.699 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.003216, allocations: 4.016 kB / 0.525 GB, free: 1.695 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.003221, allocations: 8 kB / 0.525 GB, free: 1.688 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.003221, allocations: 4 kB / 0.525 GB, free: 1.684 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.003223, allocations: 3.938 kB / 0.525 GB, free: 1.68 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.299e-05/0.003266, allocations: 69.02 kB / 0.5251 GB, free: 1.594 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-06/0.003268, allocations: 0 / 0.5251 GB, free: 1.594 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-06/0.003275, allocations: 4 kB / 0.5251 GB, free: 1.59 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.148e-06/0.00328, allocations: 0 / 0.5251 GB, free: 1.59 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.003291, allocations: 3.938 kB / 0.5251 GB, free: 1.586 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.003293, allocations: 0 / 0.5251 GB, free: 1.586 MB / 442.8 MB Notification: Performance of sorting global known variables: time 1.864e-05/0.003312, allocations: 75.28 kB / 0.5252 GB, free: 1.512 MB / 442.8 MB Notification: Performance of sort global known variables: time 4e-08/0.003312, allocations: 4.031 kB / 0.5252 GB, free: 1.508 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0001199/0.003432, allocations: 11.88 kB / 0.5252 GB, free: 1.496 MB / 442.8 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.0002259/0.003657, allocations: 0.5891 MB / 0.5258 GB, free: 0.8789 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 5.815e-05/0.003716, allocations: 19.92 kB / 0.5258 GB, free: 0.8594 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.003717, allocations: 0 / 0.5258 GB, free: 0.8594 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 5.06e-06/0.003722, allocations: 4 kB / 0.5258 GB, free: 0.8555 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.173e-05/0.003814, allocations: 3.938 kB / 0.5258 GB, free: 0.8516 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002288/0.004043, allocations: 118.7 kB / 0.5259 GB, free: 0.6953 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.526e-05/0.004078, allocations: 59.36 kB / 0.526 GB, free: 0.6172 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.613e-05/0.004094, allocations: 0 / 0.526 GB, free: 0.6172 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.004112, allocations: 8.5 kB / 0.526 GB, free: 0.6094 MB / 442.8 MB Notification: Performance of SimCode: time 4.01e-07/0.004113, allocations: 0 / 0.526 GB, free: 0.6094 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.01659, allocations: 1.666 MB / 0.5276 GB, free: 15.06 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/6.825, allocations: 14.31 kB / 0.5276 GB, free: 15.05 MB / 458.8 MB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist_fmu --startTime=0 --stopTime=1 --stepSize=0.0002 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.331903738901019]