Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.001629/0.001629, allocations: 117 kB / 17.74 MB, free: 5.355 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.001755/0.001755, allocations: 186.9 kB / 20.68 MB, free: 2.422 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.39/1.39, allocations: 222.9 MB / 246.4 MB, free: 4.207 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.9096/0.9096, allocations: 119.3 MB / 417.9 MB, free: 12.02 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.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.89 kB / 0.5789 GB, free: 13.26 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6085/0.6104, allocations: 80.68 MB / 0.6577 GB, free: 13.19 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001512/0.612, allocations: 407.6 kB / 0.6581 GB, free: 12.88 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003616/0.6123, allocations: 168.7 kB / 0.6582 GB, free: 12.76 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.6124, allocations: 0 / 0.6582 GB, free: 12.76 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.6124, allocations: 3.938 kB / 0.6583 GB, free: 12.76 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.6125, allocations: 1.188 kB / 0.6583 GB, free: 12.76 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.6126, allocations: 11.64 kB / 0.6583 GB, free: 12.75 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 4.902e-05/0.6127, allocations: 5.203 kB / 0.6583 GB, free: 12.75 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.6127, allocations: 6.312 kB / 0.6583 GB, free: 12.74 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.875e-05/0.6128, allocations: 5.422 kB / 0.6583 GB, free: 12.74 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.6128, allocations: 0 / 0.6583 GB, free: 12.74 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.6128, allocations: 1.219 kB / 0.6583 GB, free: 12.74 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.334e-05/0.6129, allocations: 10.19 kB / 0.6583 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.6129, allocations: 3.984 kB / 0.6583 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.685e-05/0.6129, allocations: 5.438 kB / 0.6583 GB, free: 12.73 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 8.056e-05/0.613, allocations: 10.69 kB / 0.6583 GB, free: 12.72 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.613, allocations: 0 / 0.6583 GB, free: 12.72 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.573e-06/0.613, allocations: 5 kB / 0.6583 GB, free: 12.72 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.613, allocations: 3.984 kB / 0.6583 GB, free: 12.71 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.0002353/0.6133, allocations: 319.4 kB / 0.6586 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6133, allocations: 14.45 kB / 0.6586 GB, free: 12.35 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.705e-05/0.6134, allocations: 30.75 kB / 0.6587 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.6134, allocations: 4.891 kB / 0.6587 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.167e-05/0.6135, allocations: 165.5 kB / 0.6588 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.6135, allocations: 384 / 0.6588 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.6135, allocations: 1.75 kB / 0.6588 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.135e-05/0.6136, allocations: 32.67 kB / 0.6589 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6136, allocations: 9.125 kB / 0.6589 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.6136, allocations: 0 / 0.6589 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6136, allocations: 0 / 0.6589 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.6137, allocations: 7.5 kB / 0.6589 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.6138, allocations: 157.6 kB / 0.659 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.6138, allocations: 18.39 kB / 0.659 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.6138, allocations: 7.391 kB / 0.6591 GB, free: 11.83 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.614, allocations: 93.22 kB / 0.6591 GB, free: 11.72 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.614, allocations: 36.09 kB / 0.6592 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.6141, allocations: 0 / 0.6592 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.6142, allocations: 42.8 kB / 0.6592 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.6142, allocations: 55.39 kB / 0.6593 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.842e-05/0.6143, allocations: 89.86 kB / 0.6594 GB, free: 11.47 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.6143, allocations: 31.14 kB / 0.6594 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 1.247e-05/0.6143, allocations: 88.2 kB / 0.6595 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.6143, allocations: 5.391 kB / 0.6595 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.6143, allocations: 11.97 kB / 0.6595 GB, free: 11.33 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.6144, allocations: 310.8 kB / 0.6598 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.6144, allocations: 2.594 kB / 0.6598 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-06/0.6144, allocations: 5.406 kB / 0.6598 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.877e-05/0.6145, allocations: 13.44 kB / 0.6598 GB, free: 11 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6145, allocations: 0.9688 kB / 0.6598 GB, free: 11 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.146e-05/0.6145, allocations: 45.61 kB / 0.6598 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6145, allocations: 4.625 kB / 0.6599 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.6145, allocations: 4.844 kB / 0.6599 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.6146, allocations: 0 / 0.6599 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.6146, allocations: 3.688 kB / 0.6599 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.6146, allocations: 0 / 0.6599 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.6146, allocations: 0.9062 kB / 0.6599 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.6147, allocations: 0.9375 kB / 0.6599 GB, free: 10.95 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 4.109e-05/0.6147, allocations: 114.8 kB / 0.66 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-06/0.6147, allocations: 0.9375 kB / 0.66 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.362e-05/0.6148, allocations: 48.05 kB / 0.66 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6148, allocations: 0.9375 kB / 0.66 GB, free: 10.79 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6148, allocations: 3.984 kB / 0.66 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.6148, allocations: 4.891 kB / 0.66 GB, free: 10.78 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.313e-05/0.6149, allocations: 147.5 kB / 0.6602 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6149, allocations: 0 / 0.6602 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.6149, allocations: 3.688 kB / 0.6602 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.6149, allocations: 4.031 kB / 0.6602 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.6149, allocations: 4.875 kB / 0.6602 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6149, allocations: 0 / 0.6602 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6149, allocations: 4.891 kB / 0.6602 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.51e-05/0.615, allocations: 61.8 kB / 0.6602 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.615, allocations: 78.39 kB / 0.6603 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.615, allocations: 3.938 kB / 0.6603 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.6151, allocations: 5.609 kB / 0.6603 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.6151, allocations: 4 kB / 0.6603 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.6151, allocations: 5.469 kB / 0.6603 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 1.351e-05/0.6151, allocations: 79.22 kB / 0.6604 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of sort global known variables: time 9e-08/0.6151, allocations: 0 / 0.6604 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001818/0.6153, allocations: 3.156 kB / 0.6604 GB, free: 10.32 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.000218/0.6155, allocations: 0.609 MB / 0.661 GB, free: 9.699 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.6156, allocations: 5.656 kB / 0.661 GB, free: 9.699 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6156, allocations: 5.312 kB / 0.661 GB, free: 9.695 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.6156, allocations: 7.594 kB / 0.661 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.6157, allocations: 1.156 kB / 0.661 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.616, allocations: 112 kB / 0.6611 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.82e-05/0.6161, allocations: 0.6793 MB / 0.6618 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 1.894e-05/0.6161, allocations: 4 kB / 0.6618 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.6161, allocations: 8.906 kB / 0.6618 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of SimCode: time 2.2e-07/0.6161, allocations: 0 / 0.6618 GB, free: 8.836 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.6378, allocations: 1.064 MB / 0.6628 GB, free: 8.246 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.3, allocations: 5.469 kB / 0.6629 GB, free: 8.242 MB / 0.4983 GB " [Timeout remaining time 292] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat_fmu --startTime=0 --stopTime=1 --stepSize=2.00004e-05 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.355020984075963]