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.00141/0.00141, allocations: 104.9 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.001576/0.001576, allocations: 195 kB / 18 MB, free: 5.094 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.325/1.325, allocations: 222.9 MB / 241.7 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.9447/0.9447, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 66.27 kB / 0.5704 GB, free: 40.17 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1516, allocations: 80.7 MB / 0.6492 GB, free: 13.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001432/0.1531, allocations: 397 kB / 0.6496 GB, free: 13.23 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00046/0.1536, allocations: 231.2 kB / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.436e-05/0.1536, allocations: 0 / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.1537, allocations: 0 / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1538, allocations: 4 kB / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.1539, allocations: 19.91 kB / 0.6498 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 5.727e-05/0.154, allocations: 19.92 kB / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.198e-05/0.1541, allocations: 352 / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 2.633e-05/0.1541, allocations: 4 kB / 0.6499 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 4.996e-05/0.1541, allocations: 7.922 kB / 0.6499 GB, free: 12.95 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.1542, allocations: 8 kB / 0.6499 GB, free: 12.94 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.1543, allocations: 27.97 kB / 0.6499 GB, free: 12.91 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1543, allocations: 4 kB / 0.6499 GB, free: 12.91 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.1543, allocations: 3.938 kB / 0.6499 GB, free: 12.9 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 9.345e-05/0.1544, allocations: 23.95 kB / 0.6499 GB, free: 12.88 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1544, allocations: 4 kB / 0.6499 GB, free: 12.88 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1544, allocations: 0 / 0.6499 GB, free: 12.88 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.1544, allocations: 0 / 0.6499 GB, free: 12.88 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.000368/0.1548, allocations: 319.6 kB / 0.6502 GB, free: 12.51 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1549, allocations: 15.89 kB / 0.6502 GB, free: 12.5 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.1549, allocations: 34.75 kB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.1549, allocations: 0.9375 kB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.155, allocations: 167.2 kB / 0.6504 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.1551, allocations: 4.312 kB / 0.6504 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1551, allocations: 384 / 0.6504 GB, free: 12.25 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/0.1552, allocations: 34.25 kB / 0.6505 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1552, allocations: 3.938 kB / 0.6505 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1552, allocations: 4 kB / 0.6505 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1552, allocations: 7.938 kB / 0.6505 GB, free: 12.2 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.1553, allocations: 11.98 kB / 0.6505 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.1554, allocations: 157.6 kB / 0.6507 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.1556, allocations: 42.5 kB / 0.6507 GB, free: 11.93 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.1557, allocations: 12.92 kB / 0.6507 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.1557, allocations: 3.938 kB / 0.6507 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1557, allocations: 34.56 kB / 0.6507 GB, free: 11.87 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1557, allocations: 4 kB / 0.6507 GB, free: 11.86 MB / 0.4983 GB Notification: Performance of matching and sorting (n=3): time 0.0001575/0.1559, allocations: 57.7 kB / 0.6508 GB, free: 11.8 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1559, allocations: 51.41 kB / 0.6509 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.48e-05/0.156, allocations: 97.8 kB / 0.6509 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.156, allocations: 25.7 kB / 0.651 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.1561, allocations: 80.14 kB / 0.651 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1561, allocations: 7.906 kB / 0.6511 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.1561, allocations: 17.83 kB / 0.6511 GB, free: 11.49 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1562, allocations: 318.8 kB / 0.6514 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.1563, allocations: 8 kB / 0.6514 GB, free: 11.16 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.797e-05/0.1563, allocations: 8.172 kB / 0.6514 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.1563, allocations: 28.94 kB / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1563, allocations: 0 / 0.6514 GB, free: 11.12 MB / 0.4983 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.36e-05/0.1564, allocations: 45.69 kB / 0.6515 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1564, allocations: 7.938 kB / 0.6515 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1564, allocations: 4 kB / 0.6515 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1565, allocations: 0 / 0.6515 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/0.1565, allocations: 15.92 kB / 0.6515 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1565, allocations: 0 / 0.6515 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.1566, allocations: 3.906 kB / 0.6515 GB, free: 11.04 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1566, allocations: 4 kB / 0.6515 GB, free: 11.04 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 7.082e-05/0.1566, allocations: 111.8 kB / 0.6516 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.1567, allocations: 3.938 kB / 0.6516 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.1568, allocations: 73.17 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1568, allocations: 4 kB / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1568, allocations: 0 / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1568, allocations: 0 / 0.6517 GB, free: 10.83 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1569, allocations: 161.9 kB / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.157, allocations: 0 / 0.6518 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.157, allocations: 15.88 kB / 0.6518 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.157, allocations: 3.938 kB / 0.6519 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.157, allocations: 3.984 kB / 0.6519 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.157, allocations: 0 / 0.6519 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1571, allocations: 4 kB / 0.6519 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.1572, allocations: 105 kB / 0.652 GB, free: 10.47 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.1572, allocations: 77.11 kB / 0.652 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1573, allocations: 8.047 kB / 0.652 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.002e-05/0.1573, allocations: 4 kB / 0.652 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.1573, allocations: 8.031 kB / 0.6521 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.1573, allocations: 0 / 0.6521 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.1574, allocations: 83.22 kB / 0.6521 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1574, allocations: 3.938 kB / 0.6521 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001838/0.1576, allocations: 16.16 kB / 0.6522 GB, free: 10.26 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.0003902/0.1579, allocations: 0.6397 MB / 0.6528 GB, free: 9.586 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 9.784e-05/0.1581, allocations: 27.94 kB / 0.6528 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1581, allocations: 0 / 0.6528 GB, free: 9.559 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 2.664e-05/0.1581, allocations: 19.98 kB / 0.6528 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.1582, allocations: 7.578 kB / 0.6528 GB, free: 9.535 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.1591, allocations: 1.12 MB / 0.6539 GB, free: 8.336 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1593, allocations: 0.6844 MB / 0.6546 GB, free: 7.625 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 2.461e-05/0.1594, allocations: 4.25 kB / 0.6546 GB, free: 7.621 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.1594, allocations: 15.44 kB / 0.6546 GB, free: 7.605 MB / 0.4983 GB Notification: Performance of SimCode: time 2.1e-07/0.1594, allocations: 0 / 0.6546 GB, free: 7.605 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.1782, allocations: 1.479 MB / 0.6561 GB, free: 6.258 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.41/7.588, allocations: 10.36 kB / 0.6561 GB, free: 6.25 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