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.001896/0.001896, allocations: 108.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.00288/0.002879, allocations: 192 kB / 18 MB, free: 5.098 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.255/2.255, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.719/1.719, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002297, allocations: 73.5 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3592, allocations: 80.69 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.003242/0.3625, allocations: 412.4 kB / 0.6496 GB, free: 13.2 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.3637, allocations: 231.2 kB / 0.6498 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.3637, allocations: 3.938 kB / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.3638, allocations: 0 / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.364, allocations: 3.938 kB / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.3642, allocations: 19.92 kB / 0.6498 GB, free: 12.94 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.3643, allocations: 7.984 kB / 0.6498 GB, free: 12.93 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.578e-05/0.3644, allocations: 4.344 kB / 0.6499 GB, free: 12.93 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.3644, allocations: 7.984 kB / 0.6499 GB, free: 12.92 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.3645, allocations: 11.94 kB / 0.6499 GB, free: 12.91 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3645, allocations: 0 / 0.6499 GB, free: 12.91 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3647, allocations: 31.91 kB / 0.6499 GB, free: 12.88 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.3647, allocations: 0 / 0.6499 GB, free: 12.88 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.3647, allocations: 7.938 kB / 0.6499 GB, free: 12.87 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.3649, allocations: 23.95 kB / 0.6499 GB, free: 12.85 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3649, allocations: 0 / 0.6499 GB, free: 12.85 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3649, allocations: 0 / 0.6499 GB, free: 12.85 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.365, allocations: 0 / 0.6499 GB, free: 12.85 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005846/0.3655, allocations: 327.6 kB / 0.6502 GB, free: 12.48 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.884e-05/0.3656, allocations: 15.89 kB / 0.6503 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.3657, allocations: 30.75 kB / 0.6503 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.3657, allocations: 0.9375 kB / 0.6503 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.3659, allocations: 163.2 kB / 0.6504 GB, free: 12.23 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.366, allocations: 4.375 kB / 0.6504 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.366, allocations: 384 / 0.6504 GB, free: 12.22 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.3662, allocations: 38.25 kB / 0.6505 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3662, allocations: 3.938 kB / 0.6505 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3662, allocations: 4 kB / 0.6505 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.3662, allocations: 7.922 kB / 0.6505 GB, free: 12.16 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.718e-05/0.3663, allocations: 15.92 kB / 0.6505 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.3666, allocations: 153.6 kB / 0.6507 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.3669, allocations: 42.56 kB / 0.6507 GB, free: 11.9 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.367, allocations: 16.92 kB / 0.6507 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.367, allocations: 0 / 0.6507 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3671, allocations: 34.56 kB / 0.6508 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 3.887e-06/0.3671, allocations: 0 / 0.6508 GB, free: 11.84 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.000259/0.3673, allocations: 61.64 kB / 0.6508 GB, free: 11.77 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.3674, allocations: 51.41 kB / 0.6509 GB, free: 11.71 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3675, allocations: 89.86 kB / 0.6509 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.3676, allocations: 29.7 kB / 0.651 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.3676, allocations: 84.14 kB / 0.6511 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.3677, allocations: 4.031 kB / 0.6511 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.3677, allocations: 25.7 kB / 0.6511 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3679, allocations: 314.8 kB / 0.6514 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.368, allocations: 4 kB / 0.6514 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.368, allocations: 11.98 kB / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.821e-05/0.3681, allocations: 20.8 kB / 0.6514 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3681, allocations: 0 / 0.6514 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001331/0.3682, allocations: 49.69 kB / 0.6515 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.3683, allocations: 7.938 kB / 0.6515 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3683, allocations: 4 kB / 0.6515 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3683, allocations: 0 / 0.6515 GB, free: 11.03 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.157e-05/0.3684, allocations: 11.98 kB / 0.6515 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.3684, allocations: 0 / 0.6515 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.3685, allocations: 3.906 kB / 0.6515 GB, free: 11.02 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3685, allocations: 4 kB / 0.6515 GB, free: 11.01 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 (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 0.0001095/0.3686, allocations: 111.8 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.3686, allocations: 3.938 kB / 0.6516 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.3689, allocations: 81.11 kB / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.369, allocations: 4 kB / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.369, allocations: 0 / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.369, allocations: 0 / 0.6517 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.3692, allocations: 161.9 kB / 0.6518 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3692, allocations: 4 kB / 0.6518 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.154e-05/0.3693, allocations: 11.94 kB / 0.6519 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.3694, allocations: 3.938 kB / 0.6519 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.3694, allocations: 7.984 kB / 0.6519 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3694, allocations: 0 / 0.6519 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3694, allocations: 4 kB / 0.6519 GB, free: 10.56 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.3697, allocations: 97.3 kB / 0.652 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.3698, allocations: 81.14 kB / 0.652 GB, free: 10.35 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.3698, allocations: 11.92 kB / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.3699, allocations: 0 / 0.6521 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.3699, allocations: 7.984 kB / 0.6521 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.3699, allocations: 0 / 0.6521 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.37, allocations: 83.34 kB / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2.11e-07/0.37, allocations: 0 / 0.6521 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0004027/0.3704, allocations: 8 kB / 0.6521 GB, free: 10.24 MB / 0.4983 GB 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.0007975/0.3712, allocations: 0.6475 MB / 0.6528 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.3716, allocations: 20 kB / 0.6528 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3717, allocations: 4.156 kB / 0.6528 GB, free: 9.535 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.3717, allocations: 23.92 kB / 0.6528 GB, free: 9.512 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.3719, allocations: 3.938 kB / 0.6528 GB, free: 9.508 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3735, allocations: 1.128 MB / 0.6539 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.3739, allocations: 0.6844 MB / 0.6546 GB, free: 7.59 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 5.284e-05/0.374, allocations: 4.25 kB / 0.6546 GB, free: 7.586 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.374, allocations: 7.438 kB / 0.6546 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of SimCode: time 9.71e-07/0.374, allocations: 0 / 0.6546 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06298/0.437, allocations: 1.477 MB / 0.6561 GB, free: 6.227 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.36, allocations: 13.28 kB / 0.6561 GB, free: 6.223 MB / 0.4983 GB (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