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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 105.5 kB / 17.06 MB, free: 6.016 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.002354/0.002355, allocations: 195 kB / 18 MB, free: 5.094 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.288/2.288, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.667/1.667, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 65.44 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2456, allocations: 80.7 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.002997/0.2487, allocations: 385 kB / 0.6496 GB, free: 13.22 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0006069/0.2493, allocations: 175.5 kB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.2494, allocations: 0 / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.2495, allocations: 0 / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.2496, allocations: 0 / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.2498, allocations: 15.86 kB / 0.6498 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.2499, allocations: 0 / 0.6498 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/0.25, allocations: 4 kB / 0.6498 GB, free: 13.03 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.875e-05/0.25, allocations: 4 kB / 0.6498 GB, free: 13.03 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.2501, allocations: 3.984 kB / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2501, allocations: 0 / 0.6498 GB, free: 13.02 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2503, allocations: 15.98 kB / 0.6498 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.2504, allocations: 0 / 0.6498 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.2505, allocations: 0 / 0.6498 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2507, allocations: 15.92 kB / 0.6498 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.2507, allocations: 0 / 0.6498 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2508, allocations: 0 / 0.6498 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.2508, allocations: 4 kB / 0.6498 GB, free: 12.99 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.0004212/0.2512, allocations: 315.6 kB / 0.6501 GB, free: 12.63 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.2513, allocations: 11.89 kB / 0.6501 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/0.2513, allocations: 38.75 kB / 0.6502 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2514, allocations: 4.938 kB / 0.6502 GB, free: 12.57 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2515, allocations: 160.4 kB / 0.6503 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2516, allocations: 4.375 kB / 0.6503 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.2516, allocations: 384 / 0.6503 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.2517, allocations: 42.17 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.2518, allocations: 3.938 kB / 0.6504 GB, free: 12.32 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2518, allocations: 3.938 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2518, allocations: 0 / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.2519, allocations: 4 kB / 0.6504 GB, free: 12.31 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.2521, allocations: 153.7 kB / 0.6505 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.2522, allocations: 22.61 kB / 0.6505 GB, free: 12.08 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.454e-05/0.2523, allocations: 8.922 kB / 0.6505 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003179/0.2526, allocations: 85.09 kB / 0.6506 GB, free: 11.96 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.2527, allocations: 38.5 kB / 0.6507 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.2527, allocations: 0 / 0.6507 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0002094/0.2529, allocations: 45.64 kB / 0.6507 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.253, allocations: 51.41 kB / 0.6508 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.2531, allocations: 89.86 kB / 0.6508 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.2531, allocations: 25.7 kB / 0.6509 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.2532, allocations: 84.12 kB / 0.6509 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.2532, allocations: 4.469 kB / 0.6509 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.2533, allocations: 17.72 kB / 0.651 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2535, allocations: 311 kB / 0.6513 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.156e-05/0.2535, allocations: 8 kB / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.2535, allocations: 0 / 0.6513 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.381e-05/0.2536, allocations: 20.73 kB / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2536, allocations: 0 / 0.6513 GB, free: 11.22 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001025/0.2537, allocations: 37.69 kB / 0.6513 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2538, allocations: 8 kB / 0.6513 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.2538, allocations: 3.938 kB / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.2538, allocations: 0 / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.2539, allocations: 8.094 kB / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.2539, allocations: 0 / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.168e-05/0.254, allocations: 0 / 0.6513 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.254, allocations: 0 / 0.6513 GB, free: 11.16 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.0001394/0.2541, allocations: 114.7 kB / 0.6515 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.2542, allocations: 3.984 kB / 0.6515 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.2543, allocations: 51.52 kB / 0.6515 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2544, allocations: 32 / 0.6515 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2544, allocations: 4 kB / 0.6515 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2544, allocations: 0 / 0.6515 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.2546, allocations: 153.7 kB / 0.6517 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2546, allocations: 0 / 0.6517 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.2546, allocations: 0 / 0.6517 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2547, allocations: 0 / 0.6517 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2547, allocations: 7.938 kB / 0.6517 GB, free: 10.77 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2547, allocations: 4 kB / 0.6517 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2547, allocations: 0 / 0.6517 GB, free: 10.76 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2548, allocations: 73.34 kB / 0.6517 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.2549, allocations: 77.11 kB / 0.6518 GB, free: 10.58 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.255, allocations: 3.938 kB / 0.6518 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.562e-05/0.255, allocations: 4 kB / 0.6518 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.2551, allocations: 0 / 0.6518 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.2551, allocations: 7.984 kB / 0.6518 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.2551, allocations: 75.28 kB / 0.6519 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2551, allocations: 0 / 0.6519 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0003469/0.2555, allocations: 8.031 kB / 0.6519 GB, free: 10.48 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.0006128/0.2561, allocations: 0.6073 MB / 0.6525 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.2563, allocations: 4 kB / 0.6525 GB, free: 9.84 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/0.2563, allocations: 8 kB / 0.6525 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.523e-05/0.2563, allocations: 12.03 kB / 0.6525 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.2566, allocations: 0 / 0.6525 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007085/0.2574, allocations: 114.6 kB / 0.6526 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.2578, allocations: 0.6766 MB / 0.6533 GB, free: 8.965 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.2579, allocations: 3.984 kB / 0.6533 GB, free: 8.961 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.2579, allocations: 7.438 kB / 0.6533 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of SimCode: time 9.41e-07/0.2579, allocations: 0 / 0.6533 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.2936, allocations: 1.073 MB / 0.6544 GB, free: 8.016 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.67, allocations: 7.266 kB / 0.6544 GB, free: 8.012 MB / 0.4983 GB (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 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestSat.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches