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.001287/0.001287, allocations: 114.4 kB / 16.63 MB, free: 6.809 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.001162/0.001162, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.25/1.25, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.776/0.776, allocations: 119.3 MB / 410.7 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 0.4905 GB, free: 13.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4299, allocations: 80.69 MB / 0.5693 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001382/0.4313, allocations: 463.4 kB / 0.5698 GB, free: 43.16 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.4317, allocations: 176 kB / 0.5699 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.4317, allocations: 0 / 0.5699 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.4317, allocations: 0 / 0.5699 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.483e-05/0.4318, allocations: 1.031 kB / 0.57 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.432, allocations: 7.906 kB / 0.57 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.911e-05/0.432, allocations: 1.312 kB / 0.57 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.4321, allocations: 1.438 kB / 0.57 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.4321, allocations: 5.328 kB / 0.57 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.61e-05/0.4321, allocations: 8.938 kB / 0.57 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.4321, allocations: 1.156 kB / 0.57 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.4322, allocations: 13.52 kB / 0.57 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.4322, allocations: 1.438 kB / 0.57 GB, free: 43.01 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.533e-05/0.4322, allocations: 3.938 kB / 0.57 GB, free: 43 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.642e-05/0.4323, allocations: 8.172 kB / 0.57 GB, free: 43 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4323, allocations: 1.188 kB / 0.57 GB, free: 43 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4323, allocations: 3.984 kB / 0.57 GB, free: 43 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.4323, allocations: 0 / 0.57 GB, free: 43 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.0002013/0.4325, allocations: 316 kB / 0.5703 GB, free: 42.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.4326, allocations: 17.64 kB / 0.5703 GB, free: 42.63 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.193e-05/0.4326, allocations: 30.75 kB / 0.5704 GB, free: 42.59 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.4326, allocations: 1.938 kB / 0.5704 GB, free: 42.59 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.816e-05/0.4327, allocations: 164.4 kB / 0.5705 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.4327, allocations: 1.594 kB / 0.5705 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.4327, allocations: 1.562 kB / 0.5705 GB, free: 42.39 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.077e-05/0.4328, allocations: 28.33 kB / 0.5705 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.4328, allocations: 9.094 kB / 0.5706 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.4328, allocations: 0 / 0.5706 GB, free: 42.36 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4328, allocations: 4 kB / 0.5706 GB, free: 42.35 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.4329, allocations: 11.38 kB / 0.5706 GB, free: 42.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.094e-05/0.433, allocations: 148 kB / 0.5707 GB, free: 42.15 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 4.11e-05/0.433, allocations: 23.33 kB / 0.5707 GB, free: 42.12 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.433, allocations: 8.109 kB / 0.5707 GB, free: 42.12 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.4332, allocations: 86.31 kB / 0.5708 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.4332, allocations: 34.56 kB / 0.5709 GB, free: 41.98 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4333, allocations: 1.344 kB / 0.5709 GB, free: 41.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001202/0.4334, allocations: 49.19 kB / 0.5709 GB, free: 41.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.4334, allocations: 52.47 kB / 0.5709 GB, free: 41.87 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.526e-05/0.4334, allocations: 89.86 kB / 0.571 GB, free: 41.77 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.4334, allocations: 26.83 kB / 0.5711 GB, free: 41.74 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.017e-05/0.4334, allocations: 80.14 kB / 0.5711 GB, free: 41.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.4335, allocations: 11.19 kB / 0.5711 GB, free: 41.65 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.4335, allocations: 20.06 kB / 0.5712 GB, free: 41.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.4336, allocations: 311.9 kB / 0.5715 GB, free: 41.31 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.4336, allocations: 1.125 kB / 0.5715 GB, free: 41.31 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.4336, allocations: 6.25 kB / 0.5715 GB, free: 41.31 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.092e-05/0.4336, allocations: 17.41 kB / 0.5715 GB, free: 41.29 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4336, allocations: 1.062 kB / 0.5715 GB, free: 41.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.673e-05/0.4337, allocations: 37.61 kB / 0.5715 GB, free: 41.26 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.4337, allocations: 9.25 kB / 0.5715 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4337, allocations: 3.938 kB / 0.5715 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.4337, allocations: 0 / 0.5715 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.4338, allocations: 3.625 kB / 0.5715 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4338, allocations: 0 / 0.5715 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.4338, allocations: 5.375 kB / 0.5715 GB, free: 41.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.4338, allocations: 0 / 0.5715 GB, free: 41.25 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 4.148e-05/0.4339, allocations: 111.2 kB / 0.5717 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-06/0.4339, allocations: 1.219 kB / 0.5717 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.976e-05/0.4339, allocations: 52.36 kB / 0.5717 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.434, allocations: 0 / 0.5717 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.434, allocations: 5.484 kB / 0.5717 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.434, allocations: 0 / 0.5717 GB, free: 41.07 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.995e-05/0.434, allocations: 151 kB / 0.5719 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.434, allocations: 1.25 kB / 0.5719 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.4341, allocations: 2.656 kB / 0.5719 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4341, allocations: 0 / 0.5719 GB, free: 40.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4341, allocations: 5.344 kB / 0.5719 GB, free: 40.87 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4341, allocations: 4.031 kB / 0.5719 GB, free: 40.87 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4341, allocations: 3.984 kB / 0.5719 GB, free: 40.86 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.197e-05/0.4341, allocations: 62.05 kB / 0.5719 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.4342, allocations: 82.23 kB / 0.572 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.4342, allocations: 5 kB / 0.572 GB, free: 40.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.164e-05/0.4342, allocations: 3.984 kB / 0.572 GB, free: 40.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.4342, allocations: 5 kB / 0.572 GB, free: 40.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.4342, allocations: 5.125 kB / 0.572 GB, free: 40.68 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.176e-05/0.4342, allocations: 75.28 kB / 0.5721 GB, free: 40.61 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4342, allocations: 0 / 0.5721 GB, free: 40.61 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001859/0.4344, allocations: 3.25 kB / 0.5721 GB, free: 40.61 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.0002085/0.4346, allocations: 0.5993 MB / 0.5727 GB, free: 40 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.452e-05/0.4347, allocations: 18.56 kB / 0.5727 GB, free: 39.99 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4347, allocations: 0 / 0.5727 GB, free: 39.99 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.218e-06/0.4347, allocations: 8.125 kB / 0.5727 GB, free: 39.98 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.4349, allocations: 3.438 kB / 0.5727 GB, free: 39.98 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.4351, allocations: 119 kB / 0.5728 GB, free: 39.84 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.337e-05/0.4352, allocations: 0.676 MB / 0.5735 GB, free: 39.14 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.4352, allocations: 5.625 kB / 0.5735 GB, free: 39.13 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.632e-05/0.4353, allocations: 7.438 kB / 0.5735 GB, free: 39.12 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.4353, allocations: 0 / 0.5735 GB, free: 39.12 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7586/1.194, allocations: 0.9567 MB / 0.5744 GB, free: 38.66 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.194, allocations: 219 kB / 0.5746 GB, free: 38.41 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.636, allocations: 0 / 0.5746 GB, free: 38.41 MB / 462.3 MB (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","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches