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.001292/0.001292, allocations: 98.98 kB / 16.5 MB, free: 6.641 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.001215/0.001215, allocations: 198.5 kB / 17.43 MB, free: 6.062 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9269/0.9269, allocations: 119.3 MB / 410.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 55.91 kB / 0.4903 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5415/0.5427, allocations: 80.68 MB / 0.5691 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.001645/0.5444, allocations: 482 kB / 0.5695 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000488/0.5449, allocations: 222 kB / 0.5697 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.545, allocations: 0 / 0.5697 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.545, allocations: 0 / 0.5697 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.5452, allocations: 5.219 kB / 0.5697 GB, free: 42.96 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.165e-05/0.5452, allocations: 21.41 kB / 0.5697 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 4.443e-05/0.5453, allocations: 9.547 kB / 0.5698 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.5453, allocations: 1.156 kB / 0.5698 GB, free: 42.95 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.5454, allocations: 15.34 kB / 0.5698 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.5454, allocations: 6.094 kB / 0.5698 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.5455, allocations: 1.219 kB / 0.5698 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.5455, allocations: 22.84 kB / 0.5698 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.5456, allocations: 1.125 kB / 0.5698 GB, free: 42.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.5456, allocations: 9.016 kB / 0.5698 GB, free: 42.91 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 8.159e-05/0.5457, allocations: 20.81 kB / 0.5698 GB, free: 42.9 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.5457, allocations: 1.156 kB / 0.5698 GB, free: 42.9 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5457, allocations: 0 / 0.5698 GB, free: 42.9 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.5457, allocations: 0 / 0.5698 GB, free: 42.9 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.000294/0.546, allocations: 335.6 kB / 0.5702 GB, free: 42.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.546, allocations: 9.594 kB / 0.5702 GB, free: 42.53 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.5461, allocations: 4.844 kB / 0.5702 GB, free: 42.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.459e-05/0.5462, allocations: 163.7 kB / 0.5703 GB, free: 42.33 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.5462, allocations: 1.531 kB / 0.5703 GB, free: 42.33 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.5462, allocations: 1.5 kB / 0.5703 GB, free: 42.33 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.475e-05/0.5463, allocations: 38.56 kB / 0.5704 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.5463, allocations: 192 / 0.5704 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.5463, allocations: 5.062 kB / 0.5704 GB, free: 42.29 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.5463, allocations: 4 kB / 0.5704 GB, free: 42.28 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.5464, allocations: 17.5 kB / 0.5704 GB, free: 42.27 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.5465, allocations: 153 kB / 0.5705 GB, free: 42.07 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.5467, allocations: 39.72 kB / 0.5706 GB, free: 42.04 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.5467, allocations: 12.8 kB / 0.5706 GB, free: 42.03 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.5467, allocations: 0 / 0.5706 GB, free: 42.03 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.5467, allocations: 35.62 kB / 0.5706 GB, free: 41.99 MB / 462.3 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.5468, allocations: 3.938 kB / 0.5706 GB, free: 41.98 MB / 462.3 MB Notification: Performance of matching and sorting (n=3): time 0.0001382/0.5469, allocations: 59.77 kB / 0.5707 GB, free: 41.93 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.5469, allocations: 52.97 kB / 0.5707 GB, free: 41.87 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.388e-05/0.547, allocations: 92.36 kB / 0.5708 GB, free: 41.77 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.547, allocations: 29.7 kB / 0.5708 GB, free: 41.74 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 1.479e-05/0.547, allocations: 80.14 kB / 0.5709 GB, free: 41.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.547, allocations: 13.39 kB / 0.5709 GB, free: 41.64 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.5471, allocations: 25.8 kB / 0.571 GB, free: 41.62 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.5471, allocations: 311.8 kB / 0.5713 GB, free: 41.3 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.5472, allocations: 3.969 kB / 0.5713 GB, free: 41.3 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.5472, allocations: 7.656 kB / 0.5713 GB, free: 41.3 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.5472, allocations: 25.47 kB / 0.5713 GB, free: 41.28 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.5472, allocations: 0 / 0.5713 GB, free: 41.28 MB / 462.3 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.976e-05/0.5473, allocations: 47.94 kB / 0.5713 GB, free: 41.24 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5473, allocations: 5.375 kB / 0.5713 GB, free: 41.24 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.5473, allocations: 3.938 kB / 0.5713 GB, free: 41.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5473, allocations: 5.125 kB / 0.5714 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.294e-05/0.5474, allocations: 5.281 kB / 0.5714 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5474, allocations: 8.984 kB / 0.5714 GB, free: 41.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.5474, allocations: 11.94 kB / 0.5714 GB, free: 41.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5474, allocations: 2.094 kB / 0.5714 GB, free: 41.21 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 4.122e-05/0.5475, allocations: 107 kB / 0.5715 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-06/0.5475, allocations: 1.094 kB / 0.5715 GB, free: 41.1 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.5476, allocations: 85.88 kB / 0.5716 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5476, allocations: 1.25 kB / 0.5716 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5476, allocations: 0 / 0.5716 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5477, allocations: 0 / 0.5716 GB, free: 41.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.531e-05/0.5477, allocations: 156.8 kB / 0.5717 GB, free: 40.83 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5477, allocations: 1.531 kB / 0.5717 GB, free: 40.83 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.5478, allocations: 7.688 kB / 0.5717 GB, free: 40.83 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5478, allocations: 0 / 0.5717 GB, free: 40.83 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.5478, allocations: 9.25 kB / 0.5717 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5478, allocations: 3.984 kB / 0.5717 GB, free: 40.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5478, allocations: 5.312 kB / 0.5717 GB, free: 40.81 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.548, allocations: 99.78 kB / 0.5718 GB, free: 40.73 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.548, allocations: 78.48 kB / 0.5719 GB, free: 40.63 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.548, allocations: 9.609 kB / 0.5719 GB, free: 40.62 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.548, allocations: 0 / 0.5719 GB, free: 40.62 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.846e-05/0.548, allocations: 7.422 kB / 0.5719 GB, free: 40.62 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.5481, allocations: 1.5 kB / 0.5719 GB, free: 40.62 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.854e-05/0.5481, allocations: 80.56 kB / 0.572 GB, free: 40.54 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5481, allocations: 0 / 0.572 GB, free: 40.54 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001852/0.5483, allocations: 14.91 kB / 0.572 GB, free: 40.54 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 0.0001106/0.5484, allocations: 107.9 kB / 0.5721 GB, free: 40.43 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 8.922e-05/0.5485, allocations: 23.09 kB / 0.5721 GB, free: 40.43 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5485, allocations: 0 / 0.5721 GB, free: 40.43 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 2.536e-05/0.5485, allocations: 19.8 kB / 0.5722 GB, free: 40.42 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.5487, allocations: 5.156 kB / 0.5722 GB, free: 40.41 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.5489, allocations: 143.9 kB / 0.5723 GB, free: 40.27 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.549, allocations: 0.6756 MB / 0.573 GB, free: 39.57 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.696e-05/0.5491, allocations: 6.578 kB / 0.573 GB, free: 39.57 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.5491, allocations: 10.84 kB / 0.573 GB, free: 39.56 MB / 462.3 MB Notification: Performance of SimCode: time 4.11e-07/0.5491, allocations: 0 / 0.573 GB, free: 39.56 MB / 462.3 MB Notification: Performance of Templates: time 0.002415/0.5515, allocations: 0.5552 MB / 0.5735 GB, free: 39.27 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches