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.001588/0.001588, allocations: 94.75 kB / 16.3 MB, free: 5.992 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.001845/0.001845, allocations: 184 kB / 17.2 MB, free: 5.914 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.604/1.604, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9394/0.9394, allocations: 120.5 MB / 412.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003473, allocations: 8 kB / 0.4942 GB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2203, allocations: 82.84 MB / 0.5751 GB, free: 8.168 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis): time 0.0005696/0.221, allocations: 134.4 kB / 0.5752 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005334/0.2215, allocations: 209.9 kB / 0.5754 GB, free: 7.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.2216, allocations: 8 kB / 0.5754 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.2216, allocations: 0 / 0.5754 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.2218, allocations: 0 / 0.5754 GB, free: 7.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.2219, allocations: 19.91 kB / 0.5754 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.546e-05/0.222, allocations: 8 kB / 0.5754 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/0.2221, allocations: 3.984 kB / 0.5754 GB, free: 7.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.2221, allocations: 4 kB / 0.5754 GB, free: 7.793 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.2222, allocations: 7.984 kB / 0.5754 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2222, allocations: 0 / 0.5754 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.2223, allocations: 19.92 kB / 0.5755 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.2223, allocations: 11.94 kB / 0.5755 GB, free: 7.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.2224, allocations: 25.7 kB / 0.5755 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.723e-05/0.2225, allocations: 23.95 kB / 0.5755 GB, free: 7.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2225, allocations: 4 kB / 0.5755 GB, free: 7.695 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2225, allocations: 0 / 0.5755 GB, free: 7.695 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.2225, allocations: 0 / 0.5755 GB, free: 7.695 MB / 446.1 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.0004023/0.2229, allocations: 311.4 kB / 0.5758 GB, free: 7.344 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.223, allocations: 8.031 kB / 0.5758 GB, free: 7.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.223, allocations: 11.86 kB / 0.5758 GB, free: 7.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.2232, allocations: 167.3 kB / 0.576 GB, free: 7.121 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2232, allocations: 3.984 kB / 0.576 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.2232, allocations: 0 / 0.576 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.2233, allocations: 41.69 kB / 0.576 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2234, allocations: 3.938 kB / 0.576 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2234, allocations: 4 kB / 0.576 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2234, allocations: 0 / 0.576 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.246e-05/0.2234, allocations: 7.953 kB / 0.5761 GB, free: 7.055 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.2237, allocations: 157.6 kB / 0.5762 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.224, allocations: 42.61 kB / 0.5762 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2241, allocations: 0 / 0.5762 GB, free: 6.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2241, allocations: 38.64 kB / 0.5763 GB, free: 6.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 3.307e-06/0.2241, allocations: 0 / 0.5763 GB, free: 6.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002053/0.2244, allocations: 53.69 kB / 0.5763 GB, free: 6.695 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.2244, allocations: 51.41 kB / 0.5764 GB, free: 6.633 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.2245, allocations: 97.86 kB / 0.5765 GB, free: 6.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.2245, allocations: 29.64 kB / 0.5765 GB, free: 6.492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.2246, allocations: 80.14 kB / 0.5766 GB, free: 6.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.2246, allocations: 15.8 kB / 0.5766 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.2246, allocations: 0 / 0.5766 GB, free: 6.395 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2248, allocations: 318.8 kB / 0.5769 GB, free: 6.074 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.2248, allocations: 8 kB / 0.5769 GB, free: 6.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.2248, allocations: 11.92 kB / 0.5769 GB, free: 6.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/0.2248, allocations: 8 kB / 0.5769 GB, free: 6.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2249, allocations: 4.125 kB / 0.5769 GB, free: 6.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.267e-05/0.2249, allocations: 49.62 kB / 0.577 GB, free: 5.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.225, allocations: 4 kB / 0.577 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.225, allocations: 4 kB / 0.577 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.225, allocations: 0 / 0.577 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.15e-05/0.2251, allocations: 4 kB / 0.577 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2251, allocations: 0 / 0.577 GB, free: 5.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.2251, allocations: 4 kB / 0.577 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2251, allocations: 4 kB / 0.577 GB, free: 5.969 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.2252, allocations: 121.8 kB / 0.5771 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.2253, allocations: 0 / 0.5771 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.2255, allocations: 69.12 kB / 0.5772 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2255, allocations: 7.984 kB / 0.5772 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2255, allocations: 0 / 0.5772 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2255, allocations: 336 / 0.5772 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.2256, allocations: 165.5 kB / 0.5773 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2257, allocations: 0 / 0.5773 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.2257, allocations: 8 kB / 0.5773 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.2257, allocations: 4 kB / 0.5774 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2258, allocations: 0 / 0.5774 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2258, allocations: 0 / 0.5774 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.036e-06/0.2258, allocations: 11.97 kB / 0.5774 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.226, allocations: 105 kB / 0.5775 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.226, allocations: 81.05 kB / 0.5775 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.226, allocations: 0 / 0.5775 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.982e-05/0.2261, allocations: 0 / 0.5775 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.2261, allocations: 16.08 kB / 0.5776 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.2261, allocations: 0 / 0.5776 GB, free: 5.281 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.618e-05/0.2262, allocations: 79.28 kB / 0.5776 GB, free: 5.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2262, allocations: 0 / 0.5776 GB, free: 5.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002031/0.2264, allocations: 8 kB / 0.5776 GB, free: 5.195 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.2265, allocations: 99.23 kB / 0.5777 GB, free: 5.086 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.2267, allocations: 27.92 kB / 0.5778 GB, free: 5.059 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2267, allocations: 8.031 kB / 0.5778 GB, free: 5.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.2267, allocations: 23.92 kB / 0.5778 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.2268, allocations: 3.953 kB / 0.5778 GB, free: 5.023 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.2272, allocations: 129.2 kB / 0.5779 GB, free: 4.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.2275, allocations: 0.6809 MB / 0.5786 GB, free: 4.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.711e-05/0.2276, allocations: 11.98 kB / 0.5786 GB, free: 4.148 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.2276, allocations: 11.44 kB / 0.5786 GB, free: 4.137 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2276, allocations: 0 / 0.5786 GB, free: 4.137 MB / 446.1 MB Notification: Performance of Templates: time 0.002893/0.2305, allocations: 0.5344 MB / 0.5791 GB, free: 3.609 MB / 446.1 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches