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: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="der.x.|p|time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.00122/0.00122, allocations: 190.5 kB / 17.43 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.249/1.249, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8101/0.8101, allocations: 119.3 MB / 410.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 0.4902 GB, free: 14.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4166, allocations: 80.68 MB / 0.569 GB, free: 42.94 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001428/0.4181, allocations: 485.3 kB / 0.5695 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003947/0.4185, allocations: 221.3 kB / 0.5697 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.639e-05/0.4185, allocations: 0 / 0.5697 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.4185, allocations: 0 / 0.5697 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.4187, allocations: 5.453 kB / 0.5697 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 7.342e-05/0.4187, allocations: 20.8 kB / 0.5697 GB, free: 42.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.525e-05/0.4188, allocations: 13.66 kB / 0.5698 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.4188, allocations: 1.031 kB / 0.5698 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.825e-05/0.4188, allocations: 7.141 kB / 0.5698 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.4189, allocations: 10.2 kB / 0.5698 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.4189, allocations: 1.188 kB / 0.5698 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.419, allocations: 19.58 kB / 0.5698 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.728e-06/0.419, allocations: 3.938 kB / 0.5698 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.419, allocations: 2.469 kB / 0.5698 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.228e-05/0.4191, allocations: 27.95 kB / 0.5698 GB, free: 42.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4191, allocations: 5.188 kB / 0.5698 GB, free: 42.35 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.31e-07/0.4191, allocations: 0 / 0.5698 GB, free: 42.35 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.4191, allocations: 0 / 0.5698 GB, free: 42.35 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.000244/0.4194, allocations: 328.5 kB / 0.5701 GB, free: 41.99 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.4194, allocations: 8.469 kB / 0.5701 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.4194, allocations: 6 kB / 0.5702 GB, free: 41.98 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.04e-05/0.4195, allocations: 163.5 kB / 0.5703 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-06/0.4195, allocations: 5.438 kB / 0.5703 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.4195, allocations: 1.562 kB / 0.5703 GB, free: 41.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.19e-05/0.4196, allocations: 42.72 kB / 0.5704 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.4196, allocations: 192 / 0.5704 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.4196, allocations: 5.031 kB / 0.5704 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4196, allocations: 0 / 0.5704 GB, free: 41.74 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.4197, allocations: 13.91 kB / 0.5704 GB, free: 41.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.884e-05/0.4198, allocations: 157.2 kB / 0.5705 GB, free: 41.53 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.42, allocations: 42.7 kB / 0.5706 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.42, allocations: 17.17 kB / 0.5706 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.42, allocations: 0 / 0.5706 GB, free: 41.48 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.063e-05/0.42, allocations: 32.03 kB / 0.5706 GB, free: 41.44 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.42, allocations: 0 / 0.5706 GB, free: 41.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001198/0.4202, allocations: 56.2 kB / 0.5707 GB, free: 41.39 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.543e-05/0.4202, allocations: 51.41 kB / 0.5707 GB, free: 41.33 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.553e-05/0.4202, allocations: 96.64 kB / 0.5708 GB, free: 41.23 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.77e-06/0.4202, allocations: 25.83 kB / 0.5708 GB, free: 41.2 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.123e-05/0.4202, allocations: 89.61 kB / 0.5709 GB, free: 41.11 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4203, allocations: 13.27 kB / 0.5709 GB, free: 41.1 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.4203, allocations: 16.62 kB / 0.5709 GB, free: 41.08 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.506e-05/0.4203, allocations: 312.3 kB / 0.5712 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.4204, allocations: 6.656 kB / 0.5712 GB, free: 40.76 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.4204, allocations: 13.17 kB / 0.5713 GB, free: 40.75 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.4204, allocations: 17.64 kB / 0.5713 GB, free: 40.74 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4204, allocations: 0 / 0.5713 GB, free: 40.74 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.212e-05/0.4205, allocations: 50.97 kB / 0.5713 GB, free: 40.7 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.4205, allocations: 7.656 kB / 0.5713 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4205, allocations: 5.188 kB / 0.5713 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.4206, allocations: 0 / 0.5713 GB, free: 40.7 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.382e-05/0.4206, allocations: 13.8 kB / 0.5714 GB, free: 40.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4206, allocations: 0 / 0.5714 GB, free: 40.69 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.4206, allocations: 5.031 kB / 0.5714 GB, free: 40.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.4206, allocations: 5.094 kB / 0.5714 GB, free: 40.68 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.548e-05/0.4207, allocations: 108 kB / 0.5715 GB, free: 40.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-06/0.4207, allocations: 5.156 kB / 0.5715 GB, free: 40.56 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.4208, allocations: 73.89 kB / 0.5715 GB, free: 40.5 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4208, allocations: 4 kB / 0.5715 GB, free: 40.49 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4208, allocations: 1.031 kB / 0.5715 GB, free: 40.49 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4208, allocations: 0 / 0.5715 GB, free: 40.49 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.83e-05/0.4209, allocations: 161.1 kB / 0.5717 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4209, allocations: 0 / 0.5717 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.421, allocations: 16.61 kB / 0.5717 GB, free: 40.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.421, allocations: 4 kB / 0.5717 GB, free: 40.28 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.421, allocations: 9.062 kB / 0.5717 GB, free: 40.27 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.421, allocations: 1.062 kB / 0.5717 GB, free: 40.27 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.421, allocations: 0 / 0.5717 GB, free: 40.27 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.4211, allocations: 96.66 kB / 0.5718 GB, free: 40.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.4211, allocations: 82.53 kB / 0.5719 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.4212, allocations: 9.062 kB / 0.5719 GB, free: 40.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.4212, allocations: 4.266 kB / 0.5719 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.4212, allocations: 6.531 kB / 0.5719 GB, free: 40.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.4212, allocations: 1.25 kB / 0.5719 GB, free: 40.08 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.633e-05/0.4212, allocations: 77.84 kB / 0.572 GB, free: 40 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4212, allocations: 3.938 kB / 0.572 GB, free: 40 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001901/0.4214, allocations: 10.86 kB / 0.572 GB, free: 40 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 8.644e-05/0.4215, allocations: 107.6 kB / 0.5721 GB, free: 39.89 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 8.04e-05/0.4216, allocations: 26.94 kB / 0.5721 GB, free: 39.88 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4216, allocations: 96 / 0.5721 GB, free: 39.88 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.4217, allocations: 23.66 kB / 0.5722 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.0001306/0.4218, allocations: 1.219 kB / 0.5722 GB, free: 39.87 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.422, allocations: 135.5 kB / 0.5723 GB, free: 39.73 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.551e-05/0.4221, allocations: 0.6802 MB / 0.573 GB, free: 39.04 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.584e-05/0.4221, allocations: 7.25 kB / 0.573 GB, free: 39.03 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.4221, allocations: 10.38 kB / 0.573 GB, free: 39.02 MB / 462.3 MB Notification: Performance of SimCode: time 2.91e-07/0.4222, allocations: 0 / 0.573 GB, free: 39.02 MB / 462.3 MB Notification: Performance of Templates: time 0.00214/0.4243, allocations: 0.5533 MB / 0.5735 GB, free: 38.73 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/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