Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.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.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis",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.001532/0.001532, allocations: 99.77 kB / 16.5 MB, free: 6.645 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.001718/0.001718, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.168/1.168, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.722/0.722, allocations: 119.3 MB / 410.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 67.89 kB / 0.4904 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3842, allocations: 80.68 MB / 0.5692 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.00128/0.3855, allocations: 479.9 kB / 0.5696 GB, free: 43.16 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000351/0.3859, allocations: 224.8 kB / 0.5698 GB, free: 43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.44e-05/0.3859, allocations: 0 / 0.5698 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.178e-05/0.3859, allocations: 0 / 0.5698 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.3861, allocations: 6.156 kB / 0.5698 GB, free: 43 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.481e-05/0.3861, allocations: 17.48 kB / 0.5698 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.419e-05/0.3862, allocations: 16.39 kB / 0.5699 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.3862, allocations: 2.094 kB / 0.5699 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.3862, allocations: 6.109 kB / 0.5699 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.3863, allocations: 7.219 kB / 0.5699 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.3863, allocations: 4 kB / 0.5699 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.545e-05/0.3864, allocations: 23.78 kB / 0.5699 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.718e-06/0.3864, allocations: 5.031 kB / 0.5699 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.3864, allocations: 5.094 kB / 0.5699 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 6.916e-05/0.3865, allocations: 29.42 kB / 0.5699 GB, free: 42.92 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3865, allocations: 0 / 0.5699 GB, free: 42.92 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.51e-07/0.3865, allocations: 0 / 0.5699 GB, free: 42.92 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.3865, allocations: 0.9062 kB / 0.5699 GB, free: 42.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002244/0.3867, allocations: 322.5 kB / 0.5702 GB, free: 42.56 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3868, allocations: 9.5 kB / 0.5703 GB, free: 42.56 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.867e-05/0.3868, allocations: 36.19 kB / 0.5703 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.3868, allocations: 8.844 kB / 0.5703 GB, free: 42.51 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.259e-05/0.3869, allocations: 164.4 kB / 0.5705 GB, free: 42.32 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.3869, allocations: 1.938 kB / 0.5705 GB, free: 42.32 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.3869, allocations: 4.375 kB / 0.5705 GB, free: 42.31 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.882e-05/0.387, allocations: 35.19 kB / 0.5705 GB, free: 42.28 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.387, allocations: 3.938 kB / 0.5705 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.387, allocations: 5.062 kB / 0.5705 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.387, allocations: 3.938 kB / 0.5705 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.219e-05/0.387, allocations: 16.89 kB / 0.5705 GB, free: 42.25 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.841e-05/0.3871, allocations: 153.1 kB / 0.5707 GB, free: 42.06 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.3873, allocations: 40.38 kB / 0.5707 GB, free: 42.03 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.3873, allocations: 8.234 kB / 0.5707 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.3874, allocations: 1 kB / 0.5707 GB, free: 42.02 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.024e-05/0.3874, allocations: 34.5 kB / 0.5708 GB, free: 41.98 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3874, allocations: 5.125 kB / 0.5708 GB, free: 41.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001133/0.3875, allocations: 55.39 kB / 0.5708 GB, free: 41.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.757e-05/0.3875, allocations: 51.41 kB / 0.5709 GB, free: 41.86 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.012e-05/0.3876, allocations: 97.83 kB / 0.571 GB, free: 41.76 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.3876, allocations: 25.7 kB / 0.571 GB, free: 41.73 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.06e-05/0.3876, allocations: 80.14 kB / 0.5711 GB, free: 41.65 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3876, allocations: 14.09 kB / 0.5711 GB, free: 41.64 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.3876, allocations: 17.14 kB / 0.5711 GB, free: 41.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.408e-05/0.3877, allocations: 315.9 kB / 0.5714 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.3877, allocations: 11.72 kB / 0.5714 GB, free: 41.29 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.3877, allocations: 7.828 kB / 0.5714 GB, free: 41.29 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.3878, allocations: 21.55 kB / 0.5714 GB, free: 41.27 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3878, allocations: 0 / 0.5714 GB, free: 41.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.472e-05/0.3878, allocations: 52.05 kB / 0.5715 GB, free: 41.23 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.3879, allocations: 8.719 kB / 0.5715 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3879, allocations: 1.156 kB / 0.5715 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.3879, allocations: 0 / 0.5715 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.949e-05/0.3879, allocations: 10.69 kB / 0.5715 GB, free: 41.22 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3879, allocations: 3.984 kB / 0.5715 GB, free: 41.22 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.388, allocations: 5.406 kB / 0.5715 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.388, allocations: 0 / 0.5715 GB, free: 41.21 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 (4): * Single equations (assignments): 4 * 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.365e-05/0.388, allocations: 108.1 kB / 0.5716 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.388, allocations: 13.92 kB / 0.5716 GB, free: 41.09 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.3881, allocations: 68.14 kB / 0.5717 GB, free: 41.03 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.3881, allocations: 5.438 kB / 0.5717 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3882, allocations: 0 / 0.5717 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3882, allocations: 1.281 kB / 0.5717 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.805e-05/0.3882, allocations: 168.5 kB / 0.5719 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3882, allocations: 0 / 0.5719 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.3883, allocations: 7.969 kB / 0.5719 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3883, allocations: 4.938 kB / 0.5719 GB, free: 40.81 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.3883, allocations: 0.8438 kB / 0.5719 GB, free: 40.81 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3883, allocations: 8.766 kB / 0.5719 GB, free: 40.8 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3883, allocations: 0 / 0.5719 GB, free: 40.8 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.3884, allocations: 105.2 kB / 0.572 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.3885, allocations: 82.33 kB / 0.5721 GB, free: 40.62 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3885, allocations: 3.938 kB / 0.5721 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.03e-05/0.3885, allocations: 5.078 kB / 0.5721 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.3885, allocations: 1.406 kB / 0.5721 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.3885, allocations: 2.656 kB / 0.5721 GB, free: 40.61 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.454e-05/0.3885, allocations: 80.5 kB / 0.5721 GB, free: 40.53 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.3886, allocations: 4.156 kB / 0.5721 GB, free: 40.53 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001847/0.3887, allocations: 7.781 kB / 0.5722 GB, free: 40.53 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (6): * Single equations (assignments): 6 * 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.0002338/0.389, allocations: 0.6452 MB / 0.5728 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.348e-05/0.3891, allocations: 22.64 kB / 0.5728 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3891, allocations: 0 / 0.5728 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.3891, allocations: 27.17 kB / 0.5728 GB, free: 39.87 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.3892, allocations: 5.75 kB / 0.5728 GB, free: 39.87 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.3898, allocations: 1.118 MB / 0.5739 GB, free: 38.73 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.208e-05/0.3899, allocations: 0.6798 MB / 0.5746 GB, free: 38.03 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.58e-05/0.3899, allocations: 8.109 kB / 0.5746 GB, free: 38.03 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.39, allocations: 18.17 kB / 0.5746 GB, free: 38.01 MB / 462.3 MB Notification: Performance of SimCode: time 3e-07/0.39, allocations: 4 kB / 0.5746 GB, free: 38 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2884/0.6784, allocations: 1.324 MB / 0.5759 GB, free: 37.36 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/0.6786, allocations: 233.6 kB / 0.5761 GB, free: 37.1 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.368, allocations: 3.875 kB / 0.5761 GB, free: 37.1 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis_fmu --startTime=0 --stopTime=20 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_DistrictHeating_Verification_TestHysteresis.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches