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.001253/0.001253, 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.001299/0.001299, 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.242/1.242, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8501/0.8501, allocations: 119.3 MB / 411 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.91 kB / 0.4909 GB, free: 13.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4382, allocations: 80.69 MB / 0.5697 GB, free: 43.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001476/0.4397, allocations: 412 kB / 0.5701 GB, free: 43.02 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003973/0.4401, allocations: 219.7 kB / 0.5703 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.4401, allocations: 0 / 0.5703 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.4402, allocations: 3.938 kB / 0.5704 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.4403, allocations: 4.938 kB / 0.5704 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.4404, allocations: 27.47 kB / 0.5704 GB, free: 42.84 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.712e-05/0.4405, allocations: 13.27 kB / 0.5704 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.4405, allocations: 1.344 kB / 0.5704 GB, free: 42.83 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.4405, allocations: 6.594 kB / 0.5704 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 4.352e-05/0.4406, allocations: 6.484 kB / 0.5704 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.4406, allocations: 4 kB / 0.5704 GB, free: 42.82 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.4407, allocations: 19.83 kB / 0.5704 GB, free: 42.81 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.4407, allocations: 5.406 kB / 0.5704 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.4407, allocations: 8.953 kB / 0.5704 GB, free: 42.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 7.592e-05/0.4408, allocations: 24.97 kB / 0.5705 GB, free: 42.78 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4408, allocations: 1.188 kB / 0.5705 GB, free: 42.78 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4408, allocations: 0 / 0.5705 GB, free: 42.78 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.4408, allocations: 0 / 0.5705 GB, free: 42.78 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.0002567/0.4411, allocations: 323.1 kB / 0.5708 GB, free: 42.42 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.4411, allocations: 8.812 kB / 0.5708 GB, free: 42.42 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.4411, allocations: 10 kB / 0.5708 GB, free: 42.41 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.822e-05/0.4412, allocations: 167.4 kB / 0.571 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.4412, allocations: 5.438 kB / 0.571 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.4413, allocations: 1.438 kB / 0.571 GB, free: 42.21 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.336e-05/0.4413, allocations: 39.64 kB / 0.571 GB, free: 42.17 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.4413, allocations: 192 / 0.571 GB, free: 42.17 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.4414, allocations: 7.922 kB / 0.571 GB, free: 42.16 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4414, allocations: 1.031 kB / 0.571 GB, free: 42.16 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.4414, allocations: 8.25 kB / 0.571 GB, free: 42.16 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.862e-05/0.4415, allocations: 158 kB / 0.5712 GB, free: 41.96 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4417, allocations: 43.7 kB / 0.5712 GB, free: 41.93 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.4417, allocations: 8.391 kB / 0.5712 GB, free: 41.92 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.4417, allocations: 0 / 0.5712 GB, free: 41.92 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.055e-05/0.4417, allocations: 35.64 kB / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.4417, allocations: 1.5 kB / 0.5713 GB, free: 41.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001153/0.4419, allocations: 54.81 kB / 0.5713 GB, free: 41.83 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.802e-05/0.4419, allocations: 55.41 kB / 0.5714 GB, free: 41.76 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.386e-05/0.4419, allocations: 97.39 kB / 0.5715 GB, free: 41.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/0.4419, allocations: 25.7 kB / 0.5715 GB, free: 41.63 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.155e-05/0.442, allocations: 81.2 kB / 0.5716 GB, free: 41.55 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.442, allocations: 20.75 kB / 0.5716 GB, free: 41.53 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.442, allocations: 13.91 kB / 0.5716 GB, free: 41.51 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.416e-05/0.442, allocations: 315 kB / 0.5719 GB, free: 41.2 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.4421, allocations: 8.312 kB / 0.5719 GB, free: 41.19 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/0.4421, allocations: 7.641 kB / 0.5719 GB, free: 41.19 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.4421, allocations: 25.67 kB / 0.5719 GB, free: 41.17 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4421, allocations: 0 / 0.5719 GB, free: 41.17 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.207e-05/0.4422, allocations: 52.31 kB / 0.572 GB, free: 41.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.4422, allocations: 8.125 kB / 0.572 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4422, allocations: 3.938 kB / 0.572 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4422, allocations: 5.688 kB / 0.572 GB, free: 41.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.302e-05/0.4423, allocations: 9.109 kB / 0.572 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.4423, allocations: 4 kB / 0.572 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.762e-05/0.4423, allocations: 5.031 kB / 0.572 GB, free: 41.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.4423, allocations: 5.219 kB / 0.572 GB, free: 41.1 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.744e-05/0.4424, allocations: 107.3 kB / 0.5721 GB, free: 40.99 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.4424, allocations: 5.375 kB / 0.5721 GB, free: 40.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.4425, allocations: 68.92 kB / 0.5722 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4425, allocations: 1.469 kB / 0.5722 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.4425, allocations: 4 kB / 0.5722 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4425, allocations: 1.438 kB / 0.5722 GB, free: 40.92 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.904e-05/0.4426, allocations: 160.1 kB / 0.5723 GB, free: 40.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4426, allocations: 3.938 kB / 0.5724 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.4427, allocations: 12.66 kB / 0.5724 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4427, allocations: 1.219 kB / 0.5724 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4427, allocations: 3.938 kB / 0.5724 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4427, allocations: 1.094 kB / 0.5724 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4427, allocations: 0 / 0.5724 GB, free: 40.71 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.4428, allocations: 105.9 kB / 0.5725 GB, free: 40.61 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.4428, allocations: 82.5 kB / 0.5725 GB, free: 40.52 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.4428, allocations: 5.094 kB / 0.5726 GB, free: 40.51 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.4429, allocations: 1.406 kB / 0.5726 GB, free: 40.51 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.4429, allocations: 1.281 kB / 0.5726 GB, free: 40.51 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.4429, allocations: 2.375 kB / 0.5726 GB, free: 40.51 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.677e-05/0.4429, allocations: 84.91 kB / 0.5726 GB, free: 40.43 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4429, allocations: 0 / 0.5726 GB, free: 40.43 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000178/0.4431, allocations: 11.08 kB / 0.5726 GB, free: 40.43 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.794e-05/0.4432, allocations: 104 kB / 0.5727 GB, free: 40.33 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 8.647e-05/0.4433, allocations: 27.42 kB / 0.5728 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4433, allocations: 0 / 0.5728 GB, free: 40.32 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.4433, allocations: 20.12 kB / 0.5728 GB, free: 40.31 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.4435, allocations: 6.406 kB / 0.5728 GB, free: 40.3 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.4437, allocations: 134.3 kB / 0.5729 GB, free: 40.17 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.303e-05/0.4438, allocations: 0.6794 MB / 0.5736 GB, free: 39.47 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.596e-05/0.4438, allocations: 7 kB / 0.5736 GB, free: 39.47 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.4438, allocations: 10.78 kB / 0.5736 GB, free: 39.46 MB / 462.3 MB Notification: Performance of SimCode: time 2.31e-07/0.4438, allocations: 3.938 kB / 0.5736 GB, free: 39.46 MB / 462.3 MB Notification: Performance of Templates: time 0.002256/0.4461, allocations: 0.5732 MB / 0.5742 GB, free: 39.16 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches