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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 124.2 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7744/0.7744, allocations: 120.6 MB / 424.6 MB, free: 5.539 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 67.88 kB / 0.5932 GB, free: 3.098 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6148/0.6169, allocations: 84.65 MB / 0.6759 GB, free: 16.39 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001731/0.6187, allocations: 395 kB / 0.6762 GB, free: 16.16 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0002172/0.6189, allocations: 38.58 kB / 0.6763 GB, free: 16.13 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.6189, allocations: 1.531 kB / 0.6763 GB, free: 16.13 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.6189, allocations: 3.938 kB / 0.6763 GB, free: 16.13 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.619, allocations: 0.6562 kB / 0.6763 GB, free: 16.13 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.6192, allocations: 8.422 kB / 0.6763 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.6192, allocations: 2.469 kB / 0.6763 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.6193, allocations: 2.406 kB / 0.6763 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.6193, allocations: 1.656 kB / 0.6763 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.6193, allocations: 2.547 kB / 0.6763 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.6193, allocations: 0 / 0.6763 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 6.894e-05/0.6194, allocations: 15.28 kB / 0.6763 GB, free: 16.12 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.6194, allocations: 4.781 kB / 0.6763 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.6194, allocations: 3.938 kB / 0.6763 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 8.67e-05/0.6195, allocations: 11.3 kB / 0.6763 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6195, allocations: 3.938 kB / 0.6763 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6195, allocations: 0 / 0.6763 GB, free: 16.11 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.6195, allocations: 3.938 kB / 0.6763 GB, free: 16.1 MB / 0.5139 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.0002522/0.6198, allocations: 320 kB / 0.6766 GB, free: 15.75 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.6198, allocations: 12.86 kB / 0.6766 GB, free: 15.74 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.6199, allocations: 34.75 kB / 0.6767 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.6199, allocations: 6.703 kB / 0.6767 GB, free: 15.7 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.261e-05/0.62, allocations: 161 kB / 0.6768 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.62, allocations: 1.125 kB / 0.6768 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.62, allocations: 6.156 kB / 0.6768 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.6201, allocations: 29.42 kB / 0.6769 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6201, allocations: 5.688 kB / 0.6769 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.6201, allocations: 0 / 0.6769 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.6201, allocations: 0 / 0.6769 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.6201, allocations: 13.12 kB / 0.6769 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.6202, allocations: 148.9 kB / 0.677 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.762e-05/0.6203, allocations: 25.33 kB / 0.6771 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.6203, allocations: 9.922 kB / 0.6771 GB, free: 15.23 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.6205, allocations: 85.56 kB / 0.6772 GB, free: 15.13 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.6205, allocations: 33.08 kB / 0.6772 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6205, allocations: 7.938 kB / 0.6772 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2): time 0.0001351/0.6207, allocations: 47.52 kB / 0.6772 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.6207, allocations: 52.16 kB / 0.6773 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.695e-05/0.6207, allocations: 89.86 kB / 0.6774 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.6207, allocations: 27.48 kB / 0.6774 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 1.023e-05/0.6207, allocations: 80.14 kB / 0.6775 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.6208, allocations: 4.75 kB / 0.6775 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.6208, allocations: 19.11 kB / 0.6775 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.6208, allocations: 317.1 kB / 0.6778 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.6209, allocations: 2.047 kB / 0.6778 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.6209, allocations: 1.344 kB / 0.6778 GB, free: 14.43 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.6209, allocations: 14.73 kB / 0.6778 GB, free: 14.42 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6209, allocations: 0 / 0.6778 GB, free: 14.42 MB / 0.5139 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.256e-05/0.621, allocations: 40.66 kB / 0.6779 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.621, allocations: 5 kB / 0.6779 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.621, allocations: 3.938 kB / 0.6779 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.621, allocations: 6.188 kB / 0.6779 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.621, allocations: 2 kB / 0.6779 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.621, allocations: 1.359 kB / 0.6779 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.6211, allocations: 5.094 kB / 0.6779 GB, free: 14.37 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.6211, allocations: 0 / 0.6779 GB, free: 14.37 MB / 0.5139 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 4.121e-05/0.6211, allocations: 108.8 kB / 0.678 GB, free: 14.26 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.6211, allocations: 4.688 kB / 0.678 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.729e-05/0.6212, allocations: 51.67 kB / 0.678 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6212, allocations: 4.031 kB / 0.678 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6212, allocations: 0.6094 kB / 0.678 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6212, allocations: 1.656 kB / 0.678 GB, free: 14.2 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.529e-05/0.6213, allocations: 145 kB / 0.6782 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6213, allocations: 4.734 kB / 0.6782 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.6213, allocations: 2.75 kB / 0.6782 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.6213, allocations: 1.391 kB / 0.6782 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.6213, allocations: 5.031 kB / 0.6782 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.6213, allocations: 0.75 kB / 0.6782 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6213, allocations: 0 / 0.6782 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.881e-05/0.6214, allocations: 65.02 kB / 0.6783 GB, free: 13.94 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.6214, allocations: 83.09 kB / 0.6783 GB, free: 13.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.6214, allocations: 12.53 kB / 0.6783 GB, free: 13.83 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.007e-05/0.6214, allocations: 0 / 0.6783 GB, free: 13.83 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-06/0.6214, allocations: 2.406 kB / 0.6783 GB, free: 13.83 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.6214, allocations: 1.312 kB / 0.6784 GB, free: 13.83 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 1.252e-05/0.6214, allocations: 79.22 kB / 0.6784 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of sort global known variables: time 6e-08/0.6214, allocations: 4.031 kB / 0.6784 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0001782/0.6216, allocations: 8.641 kB / 0.6784 GB, free: 13.74 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 0.0002214/0.6218, allocations: 0.5968 MB / 0.679 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 7.409e-05/0.6219, allocations: 10.48 kB / 0.679 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6219, allocations: 5.406 kB / 0.679 GB, free: 13.13 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.6219, allocations: 8.094 kB / 0.679 GB, free: 13.13 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.622, allocations: 1.312 kB / 0.679 GB, free: 13.13 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.6223, allocations: 114.6 kB / 0.6792 GB, free: 12.99 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.161e-05/0.6224, allocations: 0.6774 MB / 0.6798 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 1.801e-05/0.6224, allocations: 0 / 0.6798 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.6224, allocations: 9 kB / 0.6798 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of SimCode: time 2.9e-07/0.6224, allocations: 4 kB / 0.6798 GB, free: 12.28 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.6456, allocations: 1.041 MB / 0.6808 GB, free: 11.73 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.809, allocations: 5.344 kB / 0.6808 GB, free: 11.73 MB / 0.5139 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.525809181854129]