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.0008944/0.0008947, allocations: 92.11 kB / 16.65 MB, free: 6.535 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.001125/0.001125, allocations: 173 kB / 17.56 MB, free: 6.184 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.194/1.194, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7539/0.7539, allocations: 120.5 MB / 413.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 8 kB / 0.495 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4281, allocations: 82.84 MB / 0.5759 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.0003343/0.4285, allocations: 116.2 kB / 0.576 GB, free: 41.83 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001625/0.4286, allocations: 36.47 kB / 0.576 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.021e-05/0.4287, allocations: 0 / 0.576 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.527e-06/0.4287, allocations: 0 / 0.576 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.4287, allocations: 4 kB / 0.5761 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.249e-05/0.4288, allocations: 2.812 kB / 0.5761 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 2.925e-05/0.4289, allocations: 5.641 kB / 0.5761 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.4289, allocations: 1.188 kB / 0.5761 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.399e-05/0.4289, allocations: 1.156 kB / 0.5761 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.429, allocations: 5.281 kB / 0.5761 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.429, allocations: 0.9375 kB / 0.5761 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.742e-05/0.429, allocations: 4.75 kB / 0.5761 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.429, allocations: 13.22 kB / 0.5761 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.4291, allocations: 25.7 kB / 0.5761 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.359e-05/0.4291, allocations: 11.81 kB / 0.5761 GB, free: 41.74 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4291, allocations: 5.312 kB / 0.5761 GB, free: 41.73 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4291, allocations: 0 / 0.5761 GB, free: 41.73 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.4292, allocations: 0 / 0.5761 GB, free: 41.73 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.0001477/0.4293, allocations: 313.7 kB / 0.5764 GB, free: 41.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4294, allocations: 10.62 kB / 0.5764 GB, free: 41.38 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.213e-05/0.4294, allocations: 34.69 kB / 0.5765 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.611e-05/0.4294, allocations: 0.9375 kB / 0.5765 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.769e-05/0.4294, allocations: 161.7 kB / 0.5766 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.4295, allocations: 4.375 kB / 0.5766 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-06/0.4295, allocations: 1.594 kB / 0.5766 GB, free: 41.14 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.744e-05/0.4295, allocations: 38.09 kB / 0.5767 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.4296, allocations: 3.938 kB / 0.5767 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.4296, allocations: 0 / 0.5767 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4296, allocations: 0 / 0.5767 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.447e-05/0.4296, allocations: 3.219 kB / 0.5767 GB, free: 41.09 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.049e-05/0.4297, allocations: 152 kB / 0.5768 GB, free: 40.9 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.4297, allocations: 35.72 kB / 0.5769 GB, free: 40.86 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.4297, allocations: 6.953 kB / 0.5769 GB, free: 40.85 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.4299, allocations: 87.59 kB / 0.5769 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.066e-05/0.4299, allocations: 35.59 kB / 0.577 GB, free: 40.71 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4299, allocations: 0 / 0.577 GB, free: 40.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 9.845e-05/0.43, allocations: 38.33 kB / 0.577 GB, free: 40.68 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.646e-05/0.4301, allocations: 59.47 kB / 0.5771 GB, free: 40.61 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.185e-05/0.4301, allocations: 94.94 kB / 0.5772 GB, free: 40.5 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.4301, allocations: 25.7 kB / 0.5772 GB, free: 40.47 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-06/0.4301, allocations: 84.14 kB / 0.5773 GB, free: 40.38 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.4301, allocations: 7.375 kB / 0.5773 GB, free: 40.38 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.658e-05/0.4302, allocations: 10.75 kB / 0.5773 GB, free: 40.36 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 2.943e-05/0.4302, allocations: 311.9 kB / 0.5776 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.4302, allocations: 1.219 kB / 0.5776 GB, free: 40.05 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.4302, allocations: 2.25 kB / 0.5776 GB, free: 40.05 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.4302, allocations: 17.48 kB / 0.5776 GB, free: 40.03 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4303, allocations: 0 / 0.5776 GB, free: 40.03 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.798e-05/0.4303, allocations: 37.5 kB / 0.5776 GB, free: 40 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.4303, allocations: 11.75 kB / 0.5776 GB, free: 39.99 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4303, allocations: 3.938 kB / 0.5776 GB, free: 39.99 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.4303, allocations: 1.281 kB / 0.5777 GB, free: 39.99 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.4304, allocations: 6.688 kB / 0.5777 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.4304, allocations: 0 / 0.5777 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.4304, allocations: 1.281 kB / 0.5777 GB, free: 39.98 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.4304, allocations: 5.312 kB / 0.5777 GB, free: 39.98 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.252e-05/0.4305, allocations: 111.1 kB / 0.5778 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-06/0.4305, allocations: 3.984 kB / 0.5778 GB, free: 39.86 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.51e-05/0.4306, allocations: 44.3 kB / 0.5778 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4306, allocations: 1 kB / 0.5778 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.4306, allocations: 0 / 0.5778 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4306, allocations: 1.094 kB / 0.5778 GB, free: 39.81 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.222e-05/0.4306, allocations: 151.9 kB / 0.578 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4306, allocations: 0 / 0.578 GB, free: 39.62 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.4307, allocations: 7.125 kB / 0.578 GB, free: 39.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4307, allocations: 0 / 0.578 GB, free: 39.61 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.4307, allocations: 8.938 kB / 0.578 GB, free: 39.61 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4307, allocations: 3.938 kB / 0.578 GB, free: 39.6 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4307, allocations: 1.031 kB / 0.578 GB, free: 39.6 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.917e-05/0.4307, allocations: 65.97 kB / 0.578 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.4308, allocations: 85.05 kB / 0.5781 GB, free: 39.43 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-06/0.4308, allocations: 4.969 kB / 0.5781 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.4308, allocations: 0 / 0.5781 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.4308, allocations: 1.344 kB / 0.5781 GB, free: 39.42 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4308, allocations: 5.016 kB / 0.5781 GB, free: 39.42 MB / 462.3 MB Notification: Performance of sorting global known variables: time 8.096e-06/0.4308, allocations: 75.28 kB / 0.5782 GB, free: 39.34 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4308, allocations: 0 / 0.5782 GB, free: 39.34 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001804/0.431, allocations: 3.406 kB / 0.5782 GB, free: 39.34 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.0001647/0.4312, allocations: 0.6087 MB / 0.5788 GB, free: 38.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.156e-05/0.4312, allocations: 9.906 kB / 0.5788 GB, free: 38.72 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.4313, allocations: 0 / 0.5788 GB, free: 38.72 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.198e-06/0.4313, allocations: 8 kB / 0.5788 GB, free: 38.72 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.4314, allocations: 2.875 kB / 0.5788 GB, free: 38.72 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002137/0.4316, allocations: 117 kB / 0.5789 GB, free: 38.57 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.4317, allocations: 0.6709 MB / 0.5796 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.901e-05/0.4317, allocations: 3.188 kB / 0.5796 GB, free: 37.88 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.4317, allocations: 7.438 kB / 0.5796 GB, free: 37.87 MB / 462.3 MB Notification: Performance of SimCode: time 2.91e-07/0.4317, allocations: 0 / 0.5796 GB, free: 37.87 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1488/0.5806, allocations: 0.8553 MB / 0.5804 GB, free: 37.5 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.5808, allocations: 216.1 kB / 0.5806 GB, free: 37.25 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.281, allocations: 0 / 0.5806 GB, free: 37.25 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