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.001769/0.001776, allocations: 105.8 kB / 17.06 MB, free: 6.023 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.00177/0.00177, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.524/2.524, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.784/1.784, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 62.55 kB / 0.5704 GB, free: 40.14 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2547, allocations: 80.7 MB / 0.6492 GB, free: 13.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.003191/0.258, allocations: 389.1 kB / 0.6496 GB, free: 13.23 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.2584, allocations: 27.88 kB / 0.6496 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.2584, allocations: 4 kB / 0.6496 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.2586, allocations: 0 / 0.6496 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.457e-05/0.2586, allocations: 0 / 0.6496 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.2589, allocations: 11.86 kB / 0.6496 GB, free: 13.19 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.259, allocations: 15.94 kB / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.2591, allocations: 0 / 0.6496 GB, free: 13.17 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.2591, allocations: 8 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.2592, allocations: 0 / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2592, allocations: 0 / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.2593, allocations: 7.984 kB / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.2594, allocations: 0 / 0.6496 GB, free: 13.16 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.2594, allocations: 4 kB / 0.6496 GB, free: 13.15 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.2596, allocations: 19.91 kB / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.2596, allocations: 0 / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of FrontEnd: time 4.168e-06/0.2597, allocations: 0 / 0.6497 GB, free: 13.13 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.2597, allocations: 4 kB / 0.6497 GB, free: 13.13 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.0004929/0.2602, allocations: 315.5 kB / 0.65 GB, free: 12.77 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 7.386e-05/0.2603, allocations: 11.89 kB / 0.65 GB, free: 12.76 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.2603, allocations: 30.75 kB / 0.65 GB, free: 12.72 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.2604, allocations: 4.938 kB / 0.65 GB, free: 12.71 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.2606, allocations: 160.4 kB / 0.6502 GB, free: 12.52 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2606, allocations: 8.312 kB / 0.6502 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.2606, allocations: 384 / 0.6502 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.2608, allocations: 30.27 kB / 0.6502 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2608, allocations: 11.92 kB / 0.6502 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.2609, allocations: 0 / 0.6502 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2609, allocations: 0 / 0.6502 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-05/0.261, allocations: 4 kB / 0.6502 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.2613, allocations: 145.7 kB / 0.6504 GB, free: 12.27 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 8.644e-05/0.2614, allocations: 30.53 kB / 0.6504 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.2614, allocations: 8.859 kB / 0.6504 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.2618, allocations: 89.17 kB / 0.6505 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.2618, allocations: 38.55 kB / 0.6505 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.2619, allocations: 0 / 0.6505 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0002479/0.2621, allocations: 41.64 kB / 0.6506 GB, free: 12.02 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.2622, allocations: 51.41 kB / 0.6506 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.2623, allocations: 89.86 kB / 0.6507 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.2624, allocations: 29.7 kB / 0.6507 GB, free: 11.82 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.2624, allocations: 84.27 kB / 0.6508 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.2625, allocations: 6.719 kB / 0.6508 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.2626, allocations: 17.7 kB / 0.6508 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2627, allocations: 314.8 kB / 0.6511 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.2628, allocations: 3.938 kB / 0.6511 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.2628, allocations: 4 kB / 0.6511 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.2629, allocations: 8.859 kB / 0.6511 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2629, allocations: 3.938 kB / 0.6511 GB, free: 11.37 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001187/0.263, allocations: 45.75 kB / 0.6512 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2631, allocations: 7.938 kB / 0.6512 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.2631, allocations: 3.938 kB / 0.6512 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.2631, allocations: 0 / 0.6512 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.2632, allocations: 4 kB / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.2632, allocations: 0 / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.2633, allocations: 3.938 kB / 0.6512 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.2633, allocations: 4 kB / 0.6512 GB, free: 11.3 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 0.00012/0.2634, allocations: 110.8 kB / 0.6513 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.2634, allocations: 0 / 0.6513 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.2636, allocations: 48.75 kB / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2636, allocations: 0 / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.2636, allocations: 0 / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.2637, allocations: 3.984 kB / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.2638, allocations: 153.7 kB / 0.6515 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2638, allocations: 0 / 0.6515 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.2639, allocations: 4 kB / 0.6515 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.2639, allocations: 4.031 kB / 0.6515 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2639, allocations: 3.938 kB / 0.6515 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2639, allocations: 3.984 kB / 0.6515 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.264, allocations: 0 / 0.6515 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.2641, allocations: 69.06 kB / 0.6516 GB, free: 10.82 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.2642, allocations: 77.11 kB / 0.6517 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.2642, allocations: 3.938 kB / 0.6517 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/0.2642, allocations: 0 / 0.6517 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.2643, allocations: 4.031 kB / 0.6517 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2643, allocations: 0 / 0.6517 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.2643, allocations: 79.28 kB / 0.6518 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2643, allocations: 0 / 0.6518 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003376/0.2647, allocations: 4 kB / 0.6518 GB, free: 10.64 MB / 0.4983 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 0.000556/0.2653, allocations: 0.609 MB / 0.6524 GB, free: 9.996 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.2654, allocations: 11.98 kB / 0.6524 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2654, allocations: 0 / 0.6524 GB, free: 9.984 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.2654, allocations: 4 kB / 0.6524 GB, free: 9.98 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.2657, allocations: 4 kB / 0.6524 GB, free: 9.977 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.2662, allocations: 122.6 kB / 0.6525 GB, free: 9.816 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.2666, allocations: 0.6766 MB / 0.6531 GB, free: 9.113 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 3.81e-05/0.2667, allocations: 8.125 kB / 0.6532 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.2667, allocations: 11.38 kB / 0.6532 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of SimCode: time 7.11e-07/0.2667, allocations: 0 / 0.6532 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.3008, allocations: 1.036 MB / 0.6542 GB, free: 8.195 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/12.98, allocations: 2.438 kB / 0.6542 GB, free: 8.195 MB / 0.4983 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches