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.001202/0.001202, allocations: 109.8 kB / 16.92 MB, free: 5.762 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.001233/0.001233, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.222/1.222, allocations: 222.9 MB / 241.5 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7421/0.7421, allocations: 119.3 MB / 411 MB, free: 9.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.91 kB / 0.491 GB, free: 13.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3917, allocations: 80.69 MB / 0.5698 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001313/0.393, allocations: 409.6 kB / 0.5702 GB, free: 43.08 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003275/0.3934, allocations: 218.9 kB / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.3934, allocations: 0 / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.3934, allocations: 1.375 kB / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.3935, allocations: 3.938 kB / 0.5704 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.873e-05/0.3936, allocations: 26.78 kB / 0.5705 GB, free: 42.9 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.545e-05/0.3937, allocations: 13.44 kB / 0.5705 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.3937, allocations: 5.359 kB / 0.5705 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.3938, allocations: 2.75 kB / 0.5705 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.847e-05/0.3938, allocations: 10.73 kB / 0.5705 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.689e-06/0.3938, allocations: 1.375 kB / 0.5705 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.787e-05/0.3939, allocations: 18.98 kB / 0.5705 GB, free: 42.87 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.3939, allocations: 5.312 kB / 0.5705 GB, free: 42.87 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.3939, allocations: 5.359 kB / 0.5705 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.182e-05/0.394, allocations: 29.53 kB / 0.5706 GB, free: 42.84 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.394, allocations: 0 / 0.5706 GB, free: 42.84 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.152e-06/0.394, allocations: 0 / 0.5706 GB, free: 42.84 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.394, allocations: 4 kB / 0.5706 GB, free: 42.84 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.0002325/0.3943, allocations: 323.8 kB / 0.5709 GB, free: 42.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.3943, allocations: 13.48 kB / 0.5709 GB, free: 42.48 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.301e-05/0.3943, allocations: 30.75 kB / 0.5709 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.319e-05/0.3943, allocations: 10.16 kB / 0.5709 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.952e-05/0.3944, allocations: 168 kB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.3944, allocations: 384 / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3944, allocations: 1.75 kB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.786e-05/0.3945, allocations: 43.75 kB / 0.5711 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3945, allocations: 3.938 kB / 0.5711 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.3945, allocations: 0 / 0.5711 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3945, allocations: 5.359 kB / 0.5711 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.3946, allocations: 8.062 kB / 0.5711 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.154e-05/0.3947, allocations: 153.8 kB / 0.5713 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3948, allocations: 43.05 kB / 0.5713 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.3949, allocations: 16.34 kB / 0.5714 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.3949, allocations: 5 kB / 0.5714 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.218e-05/0.3949, allocations: 31.56 kB / 0.5714 GB, free: 41.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3949, allocations: 0 / 0.5714 GB, free: 41.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001152/0.395, allocations: 56.28 kB / 0.5714 GB, free: 41.84 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.3951, allocations: 51.41 kB / 0.5715 GB, free: 41.78 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.333e-05/0.3951, allocations: 97.06 kB / 0.5716 GB, free: 41.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.3951, allocations: 29.7 kB / 0.5716 GB, free: 41.64 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.08e-05/0.3951, allocations: 85.3 kB / 0.5717 GB, free: 41.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.3951, allocations: 9.781 kB / 0.5717 GB, free: 41.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.3952, allocations: 15.97 kB / 0.5717 GB, free: 41.53 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.177e-05/0.3952, allocations: 316 kB / 0.572 GB, free: 41.21 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.3952, allocations: 8.281 kB / 0.572 GB, free: 41.21 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.3952, allocations: 7.281 kB / 0.572 GB, free: 41.2 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.3953, allocations: 21.66 kB / 0.5721 GB, free: 41.19 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3953, allocations: 0 / 0.5721 GB, free: 41.19 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.26e-05/0.3954, allocations: 56.84 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.3954, allocations: 8.406 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.3954, allocations: 0 / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.3954, allocations: 1.125 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/0.3954, allocations: 5.625 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3954, allocations: 1.062 kB / 0.5721 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.3955, allocations: 7.938 kB / 0.5721 GB, free: 41.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.3955, allocations: 5.375 kB / 0.5721 GB, free: 41.12 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.492e-05/0.3955, allocations: 108.6 kB / 0.5722 GB, free: 41.01 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/0.3955, allocations: 12.98 kB / 0.5723 GB, free: 41 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.3956, allocations: 69.03 kB / 0.5723 GB, free: 40.94 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3957, allocations: 1.219 kB / 0.5723 GB, free: 40.94 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3957, allocations: 0 / 0.5723 GB, free: 40.94 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3957, allocations: 5.109 kB / 0.5723 GB, free: 40.93 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.618e-05/0.3957, allocations: 164.2 kB / 0.5725 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3957, allocations: 0 / 0.5725 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.148e-05/0.3958, allocations: 9.031 kB / 0.5725 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3958, allocations: 3.938 kB / 0.5725 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3958, allocations: 9.219 kB / 0.5725 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3958, allocations: 1 kB / 0.5725 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3958, allocations: 0 / 0.5725 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.3959, allocations: 94.56 kB / 0.5726 GB, free: 40.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.396, allocations: 78.27 kB / 0.5727 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.396, allocations: 16.97 kB / 0.5727 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.396, allocations: 0 / 0.5727 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.396, allocations: 10.72 kB / 0.5727 GB, free: 40.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.396, allocations: 5.438 kB / 0.5727 GB, free: 40.52 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.765e-05/0.396, allocations: 76.5 kB / 0.5728 GB, free: 40.44 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.5e-07/0.396, allocations: 1.031 kB / 0.5728 GB, free: 40.44 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000185/0.3962, allocations: 10.62 kB / 0.5728 GB, free: 40.44 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.0002254/0.3965, allocations: 0.6496 MB / 0.5734 GB, free: 39.8 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 8.187e-05/0.3966, allocations: 31.08 kB / 0.5734 GB, free: 39.79 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3966, allocations: 0 / 0.5734 GB, free: 39.79 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.3966, allocations: 15.69 kB / 0.5735 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.3967, allocations: 6.344 kB / 0.5735 GB, free: 39.78 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.3973, allocations: 1.114 MB / 0.5746 GB, free: 38.65 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.3974, allocations: 0.679 MB / 0.5752 GB, free: 37.95 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.54e-05/0.3974, allocations: 19.14 kB / 0.5752 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.3974, allocations: 18.36 kB / 0.5753 GB, free: 37.91 MB / 462.3 MB Notification: Performance of SimCode: time 2.21e-07/0.3974, allocations: 0 / 0.5753 GB, free: 37.91 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2045/0.6019, allocations: 1.444 MB / 0.5767 GB, free: 37.14 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.23, allocations: 12.23 kB / 0.5767 GB, free: 37.13 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches