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.001201/0.001201, allocations: 106.2 kB / 16.92 MB, free: 6.145 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.001203/0.001204, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.237/1.237, allocations: 222.9 MB / 241.6 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 0.7928/0.7928, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.491 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4138, allocations: 80.69 MB / 0.5698 GB, free: 43.35 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001344/0.4152, allocations: 397.7 kB / 0.5702 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.4155, allocations: 162.7 kB / 0.5704 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.4156, allocations: 1.062 kB / 0.5704 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.4156, allocations: 4 kB / 0.5704 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.4156, allocations: 0 / 0.5704 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.4158, allocations: 16.22 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.665e-05/0.4158, allocations: 6.219 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.4159, allocations: 1.219 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.495e-05/0.4159, allocations: 1.344 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.236e-05/0.4159, allocations: 1.25 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.4159, allocations: 3.938 kB / 0.5704 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.399e-05/0.416, allocations: 10.58 kB / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.416, allocations: 0 / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.581e-05/0.416, allocations: 9.25 kB / 0.5704 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.488e-05/0.4161, allocations: 15.75 kB / 0.5704 GB, free: 42.9 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4161, allocations: 1.156 kB / 0.5704 GB, free: 42.9 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4161, allocations: 0 / 0.5704 GB, free: 42.9 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.4161, allocations: 0 / 0.5704 GB, free: 42.9 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.0001881/0.4163, allocations: 311.9 kB / 0.5707 GB, free: 42.55 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.4163, allocations: 13.67 kB / 0.5708 GB, free: 42.55 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.385e-05/0.4164, allocations: 38.69 kB / 0.5708 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.4164, allocations: 1.906 kB / 0.5708 GB, free: 42.5 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.577e-05/0.4164, allocations: 160.4 kB / 0.5709 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.4165, allocations: 9.438 kB / 0.571 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-06/0.4165, allocations: 2.094 kB / 0.571 GB, free: 42.3 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.736e-05/0.4165, allocations: 28.73 kB / 0.571 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.4166, allocations: 3.938 kB / 0.571 GB, free: 42.26 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.4166, allocations: 3.984 kB / 0.571 GB, free: 42.26 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.4166, allocations: 5.031 kB / 0.571 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.4166, allocations: 6.906 kB / 0.571 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.496e-05/0.4167, allocations: 143.7 kB / 0.5711 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.769e-05/0.4168, allocations: 31.8 kB / 0.5712 GB, free: 42.03 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.728e-05/0.4168, allocations: 10.94 kB / 0.5712 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.4169, allocations: 82.27 kB / 0.5713 GB, free: 41.92 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.417, allocations: 31.75 kB / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.417, allocations: 0 / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001084/0.4171, allocations: 51.78 kB / 0.5713 GB, free: 41.84 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.4171, allocations: 59.28 kB / 0.5714 GB, free: 41.77 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.544e-05/0.4171, allocations: 89.86 kB / 0.5715 GB, free: 41.67 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.4171, allocations: 25.7 kB / 0.5715 GB, free: 41.64 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-06/0.4172, allocations: 82.14 kB / 0.5716 GB, free: 41.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.4172, allocations: 6.156 kB / 0.5716 GB, free: 41.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.4172, allocations: 16.53 kB / 0.5716 GB, free: 41.53 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.77e-05/0.4172, allocations: 314.8 kB / 0.5719 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.4173, allocations: 5.375 kB / 0.5719 GB, free: 41.21 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-06/0.4173, allocations: 2.594 kB / 0.5719 GB, free: 41.21 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.33e-05/0.4173, allocations: 13.8 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4173, allocations: 0 / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.596e-05/0.4174, allocations: 38.23 kB / 0.572 GB, free: 41.16 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.4174, allocations: 4.656 kB / 0.572 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4174, allocations: 7.922 kB / 0.572 GB, free: 41.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.4174, allocations: 5.203 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/0.4174, allocations: 2.5 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4174, allocations: 5.781 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.4175, allocations: 0 / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.4175, allocations: 0 / 0.572 GB, free: 41.15 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 3.534e-05/0.4175, allocations: 111.4 kB / 0.5721 GB, free: 41.03 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-06/0.4175, allocations: 1.062 kB / 0.5721 GB, free: 41.03 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.361e-05/0.4176, allocations: 48.84 kB / 0.5721 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.4176, allocations: 0 / 0.5721 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4176, allocations: 4.031 kB / 0.5721 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4176, allocations: 1.375 kB / 0.5722 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.246e-05/0.4177, allocations: 143 kB / 0.5723 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4177, allocations: 3.984 kB / 0.5723 GB, free: 40.79 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.4177, allocations: 12.06 kB / 0.5723 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.4177, allocations: 0 / 0.5723 GB, free: 40.78 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.4177, allocations: 3.938 kB / 0.5723 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4177, allocations: 1.406 kB / 0.5723 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4177, allocations: 0 / 0.5723 GB, free: 40.77 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.796e-05/0.4178, allocations: 69.47 kB / 0.5724 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.4178, allocations: 78.48 kB / 0.5724 GB, free: 40.6 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.4178, allocations: 7.938 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.4178, allocations: 5.375 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.4178, allocations: 0 / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.4178, allocations: 1.438 kB / 0.5725 GB, free: 40.59 MB / 462.3 MB Notification: Performance of sorting global known variables: time 9.408e-06/0.4179, allocations: 75.28 kB / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4179, allocations: 0 / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001703/0.418, allocations: 3.031 kB / 0.5725 GB, free: 40.52 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.0001916/0.4182, allocations: 0.6094 MB / 0.5731 GB, free: 39.9 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 6.558e-05/0.4183, allocations: 13.98 kB / 0.5731 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.4183, allocations: 1.406 kB / 0.5731 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.4183, allocations: 6.75 kB / 0.5732 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.4184, allocations: 5.719 kB / 0.5732 GB, free: 39.88 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.4187, allocations: 116.9 kB / 0.5733 GB, free: 39.74 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.323e-05/0.4188, allocations: 0.6707 MB / 0.5739 GB, free: 39.04 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 1.945e-05/0.4188, allocations: 1.781 kB / 0.5739 GB, free: 39.04 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.4188, allocations: 7.438 kB / 0.5739 GB, free: 39.04 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4188, allocations: 0 / 0.5739 GB, free: 39.04 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.631/4.05, allocations: 1.031 MB / 0.5749 GB, free: 38.45 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/12.19, allocations: 8.531 kB / 0.5749 GB, free: 38.45 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","/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