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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.001119, allocations: 103.3 kB / 16.62 MB, free: 6.809 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.001117/0.001117, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.141/1.141, allocations: 222.9 MB / 241.2 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.6927/0.6927, allocations: 119.3 MB / 410.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 63.89 kB / 0.4905 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3602, allocations: 80.69 MB / 0.5693 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001287/0.3615, allocations: 452.6 kB / 0.5698 GB, free: 43.15 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000146/0.3616, allocations: 34.94 kB / 0.5698 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.3617, allocations: 1.188 kB / 0.5698 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.3617, allocations: 0 / 0.5698 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.164e-05/0.3617, allocations: 4 kB / 0.5698 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.3619, allocations: 3.469 kB / 0.5698 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.235e-05/0.3619, allocations: 1.188 kB / 0.5698 GB, free: 43.12 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.3619, allocations: 6.172 kB / 0.5698 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.476e-05/0.362, allocations: 5.203 kB / 0.5698 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.212e-05/0.362, allocations: 1.125 kB / 0.5698 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.362, allocations: 0 / 0.5698 GB, free: 43.11 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.005e-05/0.3621, allocations: 12.72 kB / 0.5698 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.3621, allocations: 1.25 kB / 0.5698 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.4e-05/0.3621, allocations: 0 / 0.5698 GB, free: 43.1 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.906e-05/0.3622, allocations: 8.609 kB / 0.5698 GB, free: 43.1 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3622, allocations: 9.25 kB / 0.5699 GB, free: 43.09 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3622, allocations: 3.938 kB / 0.5699 GB, free: 43.09 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3622, allocations: 0 / 0.5699 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.0001804/0.3624, allocations: 319.1 kB / 0.5702 GB, free: 42.73 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3624, allocations: 14.77 kB / 0.5702 GB, free: 42.72 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.016e-05/0.3624, allocations: 30.75 kB / 0.5702 GB, free: 42.68 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.91e-05/0.3625, allocations: 0.9375 kB / 0.5702 GB, free: 42.68 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.947e-05/0.3625, allocations: 161.8 kB / 0.5704 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.3625, allocations: 384 / 0.5704 GB, free: 42.49 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.3625, allocations: 5.875 kB / 0.5704 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.832e-05/0.3626, allocations: 37.09 kB / 0.5704 GB, free: 42.45 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-06/0.3626, allocations: 3.938 kB / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.3626, allocations: 0 / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3626, allocations: 1.812 kB / 0.5704 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.578e-05/0.3627, allocations: 9.438 kB / 0.5704 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.573e-05/0.3627, allocations: 148.4 kB / 0.5706 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.493e-05/0.3628, allocations: 27.59 kB / 0.5706 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.3628, allocations: 7.672 kB / 0.5706 GB, free: 42.2 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.363, allocations: 90.12 kB / 0.5707 GB, free: 42.1 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.363, allocations: 31.66 kB / 0.5707 GB, free: 42.06 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.363, allocations: 1.688 kB / 0.5707 GB, free: 42.06 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 9.816e-05/0.3631, allocations: 40.64 kB / 0.5708 GB, free: 42.02 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.3631, allocations: 52.94 kB / 0.5708 GB, free: 41.96 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.275e-05/0.3632, allocations: 97.98 kB / 0.5709 GB, free: 41.86 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-06/0.3632, allocations: 25.7 kB / 0.5709 GB, free: 41.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.415e-06/0.3632, allocations: 89.83 kB / 0.571 GB, free: 41.73 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.3632, allocations: 6.156 kB / 0.571 GB, free: 41.73 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.3632, allocations: 12.38 kB / 0.571 GB, free: 41.71 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.3633, allocations: 312.4 kB / 0.5713 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.024e-05/0.3633, allocations: 5.625 kB / 0.5713 GB, free: 41.4 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-06/0.3633, allocations: 1.312 kB / 0.5713 GB, free: 41.4 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/0.3633, allocations: 14.42 kB / 0.5713 GB, free: 41.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3633, allocations: 0 / 0.5713 GB, free: 41.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.362e-05/0.3634, allocations: 45.69 kB / 0.5714 GB, free: 41.34 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.3634, allocations: 4.969 kB / 0.5714 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3634, allocations: 9.203 kB / 0.5714 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.3634, allocations: 0 / 0.5714 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.932e-05/0.3634, allocations: 2.75 kB / 0.5714 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3635, allocations: 1.375 kB / 0.5714 GB, free: 41.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.3635, allocations: 4 kB / 0.5714 GB, free: 41.33 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.3635, allocations: 5.406 kB / 0.5714 GB, free: 41.33 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.577e-05/0.3635, allocations: 107.2 kB / 0.5715 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.3635, allocations: 3.984 kB / 0.5715 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.3636, allocations: 52.94 kB / 0.5716 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3636, allocations: 0 / 0.5716 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3636, allocations: 3.938 kB / 0.5716 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3636, allocations: 1.375 kB / 0.5716 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.148e-05/0.3637, allocations: 151.1 kB / 0.5717 GB, free: 40.96 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3637, allocations: 4 kB / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.3637, allocations: 4.125 kB / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3637, allocations: 3.938 kB / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3637, allocations: 3.938 kB / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3637, allocations: 1.375 kB / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3637, allocations: 0 / 0.5717 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.496e-05/0.3638, allocations: 61.38 kB / 0.5718 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.3638, allocations: 86.42 kB / 0.5719 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.3638, allocations: 3.938 kB / 0.5719 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-06/0.3638, allocations: 1.375 kB / 0.5719 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.3638, allocations: 5.359 kB / 0.5719 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.3638, allocations: 0 / 0.5719 GB, free: 40.77 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.427e-06/0.3639, allocations: 79.22 kB / 0.572 GB, free: 40.69 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.3639, allocations: 1.375 kB / 0.572 GB, free: 40.69 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001649/0.364, allocations: 2.75 kB / 0.572 GB, free: 40.69 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.000164/0.3642, allocations: 0.604 MB / 0.5726 GB, free: 40.07 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.513e-05/0.3643, allocations: 6.875 kB / 0.5726 GB, free: 40.07 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3643, allocations: 0 / 0.5726 GB, free: 40.07 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.3643, allocations: 8.062 kB / 0.5726 GB, free: 40.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.3644, allocations: 8.734 kB / 0.5726 GB, free: 40.07 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.3646, allocations: 124.3 kB / 0.5727 GB, free: 39.91 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.806e-05/0.3647, allocations: 0.6703 MB / 0.5733 GB, free: 39.22 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.891e-05/0.3647, allocations: 1.375 kB / 0.5734 GB, free: 39.22 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.3647, allocations: 8.812 kB / 0.5734 GB, free: 39.21 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.3647, allocations: 0 / 0.5734 GB, free: 39.21 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.278/2.643, allocations: 0.9464 MB / 0.5743 GB, free: 38.75 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/2.643, allocations: 223.4 kB / 0.5745 GB, free: 38.5 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.986/6.629, allocations: 0 / 0.5745 GB, free: 38.5 MB / 462.3 MB (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 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHist.fmu > 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