Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001172/0.001172, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001185/0.001185, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.2/1.2, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8034/0.8034, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 0.4909 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4364, allocations: 80.69 MB / 0.5697 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001282/0.4377, allocations: 407.8 kB / 0.5701 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.4381, allocations: 214.9 kB / 0.5703 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.4381, allocations: 0 / 0.5703 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.929e-06/0.4381, allocations: 3.938 kB / 0.5703 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.4382, allocations: 1.125 kB / 0.5703 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.423e-05/0.4383, allocations: 31.5 kB / 0.5704 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.54e-05/0.4384, allocations: 13.22 kB / 0.5704 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.4384, allocations: 5.047 kB / 0.5704 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.685e-05/0.4385, allocations: 7.188 kB / 0.5704 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.794e-05/0.4385, allocations: 6.172 kB / 0.5704 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.4385, allocations: 1.094 kB / 0.5704 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-05/0.4386, allocations: 22.72 kB / 0.5704 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.4386, allocations: 1.094 kB / 0.5704 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.4386, allocations: 9.875 kB / 0.5704 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.085e-05/0.4387, allocations: 20.78 kB / 0.5705 GB, free: 42.81 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4387, allocations: 4.969 kB / 0.5705 GB, free: 42.81 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4387, allocations: 4 kB / 0.5705 GB, free: 42.8 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.4387, allocations: 3.984 kB / 0.5705 GB, free: 42.8 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.0002313/0.4389, allocations: 323.5 kB / 0.5708 GB, free: 42.44 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.439, allocations: 13.28 kB / 0.5708 GB, free: 42.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.439, allocations: 6.188 kB / 0.5708 GB, free: 42.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.005e-05/0.4391, allocations: 163.6 kB / 0.571 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-06/0.4391, allocations: 384 / 0.571 GB, free: 42.24 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.4391, allocations: 5.562 kB / 0.571 GB, free: 42.23 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.071e-05/0.4392, allocations: 42.72 kB / 0.571 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.4392, allocations: 1.281 kB / 0.571 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.4392, allocations: 3.938 kB / 0.571 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4392, allocations: 0 / 0.571 GB, free: 42.19 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.4392, allocations: 13.77 kB / 0.571 GB, free: 42.18 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.744e-05/0.4393, allocations: 149 kB / 0.5712 GB, free: 41.99 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.4395, allocations: 47.88 kB / 0.5712 GB, free: 41.95 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.4395, allocations: 11.89 kB / 0.5712 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-06/0.4396, allocations: 1.969 kB / 0.5712 GB, free: 41.94 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.927e-06/0.4396, allocations: 34.5 kB / 0.5712 GB, free: 41.89 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.4396, allocations: 0 / 0.5712 GB, free: 41.89 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001103/0.4397, allocations: 51.69 kB / 0.5713 GB, free: 41.85 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.617e-05/0.4397, allocations: 52.75 kB / 0.5713 GB, free: 41.79 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.548e-05/0.4398, allocations: 100.3 kB / 0.5714 GB, free: 41.68 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.4398, allocations: 25.7 kB / 0.5715 GB, free: 41.65 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.102e-05/0.4398, allocations: 85.3 kB / 0.5716 GB, free: 41.57 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.4398, allocations: 12.94 kB / 0.5716 GB, free: 41.55 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.4398, allocations: 13.72 kB / 0.5716 GB, free: 41.54 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.4399, allocations: 316.1 kB / 0.5719 GB, free: 41.22 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.4399, allocations: 7.625 kB / 0.5719 GB, free: 41.22 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.4399, allocations: 3.562 kB / 0.5719 GB, free: 41.22 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.4399, allocations: 25.09 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.44, allocations: 0 / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.249e-05/0.44, allocations: 56.45 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.44, allocations: 9.25 kB / 0.572 GB, free: 41.15 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.44, allocations: 3.938 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.4401, allocations: 1.375 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.603e-05/0.4401, allocations: 5.562 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.4401, allocations: 0 / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.4401, allocations: 5.938 kB / 0.572 GB, free: 41.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.4401, allocations: 3.984 kB / 0.572 GB, free: 41.14 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.566e-05/0.4402, allocations: 115.8 kB / 0.5721 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.4402, allocations: 5.312 kB / 0.5721 GB, free: 41.01 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.4403, allocations: 73.45 kB / 0.5722 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4403, allocations: 1.625 kB / 0.5722 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4403, allocations: 0 / 0.5722 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4403, allocations: 0 / 0.5722 GB, free: 40.95 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.595e-05/0.4404, allocations: 164.6 kB / 0.5723 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4404, allocations: 0 / 0.5723 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.4405, allocations: 9.25 kB / 0.5723 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.4405, allocations: 0 / 0.5723 GB, free: 40.74 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.4405, allocations: 9.25 kB / 0.5724 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4405, allocations: 0 / 0.5724 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4405, allocations: 9.297 kB / 0.5724 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.4406, allocations: 104.9 kB / 0.5725 GB, free: 40.63 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.4406, allocations: 78.45 kB / 0.5725 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.4406, allocations: 5.219 kB / 0.5725 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.4407, allocations: 0 / 0.5725 GB, free: 40.54 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.4407, allocations: 6.328 kB / 0.5726 GB, free: 40.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.4407, allocations: 6.5 kB / 0.5726 GB, free: 40.53 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.51e-05/0.4407, allocations: 80.62 kB / 0.5726 GB, free: 40.45 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.4407, allocations: 0 / 0.5726 GB, free: 40.45 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001693/0.4409, allocations: 7.844 kB / 0.5726 GB, free: 40.45 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 7.947e-05/0.441, allocations: 107.8 kB / 0.5727 GB, free: 40.35 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 7.905e-05/0.4411, allocations: 27.22 kB / 0.5728 GB, free: 40.34 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4411, allocations: 0 / 0.5728 GB, free: 40.34 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.4411, allocations: 23.14 kB / 0.5728 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.4412, allocations: 1.656 kB / 0.5728 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.4414, allocations: 135.4 kB / 0.5729 GB, free: 40.19 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.355e-05/0.4415, allocations: 0.6783 MB / 0.5736 GB, free: 39.49 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.431e-05/0.4415, allocations: 12.52 kB / 0.5736 GB, free: 39.48 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.4415, allocations: 14.47 kB / 0.5736 GB, free: 39.47 MB / 462.3 MB Notification: Performance of SimCode: time 2e-07/0.4416, allocations: 0 / 0.5736 GB, free: 39.47 MB / 462.3 MB Notification: Performance of Templates: time 0.002053/0.4436, allocations: 0.5646 MB / 0.5742 GB, free: 39.18 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches