Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.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.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=99998,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009171/0.0009173, allocations: 91.19 kB / 16.65 MB, free: 6.535 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.001122/0.001121, allocations: 176.5 kB / 17.56 MB, free: 6.18 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.282/1.282, allocations: 223.2 MB / 241.6 MB, free: 88 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8531/0.8531, allocations: 120.5 MB / 413.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.000345, allocations: 8 kB / 0.4949 GB, free: 11.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4567, allocations: 82.84 MB / 0.5758 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.0003494/0.4571, allocations: 125.7 kB / 0.5759 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003164/0.4574, allocations: 166.9 kB / 0.5761 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.052e-05/0.4574, allocations: 0.9688 kB / 0.5761 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.908e-06/0.4575, allocations: 4 kB / 0.5761 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.4575, allocations: 0 / 0.5761 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 9.869e-05/0.4576, allocations: 7.5 kB / 0.5761 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 3.301e-05/0.4577, allocations: 5.859 kB / 0.5761 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.4577, allocations: 5.172 kB / 0.5761 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.4577, allocations: 1.125 kB / 0.5761 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.4578, allocations: 1.375 kB / 0.5761 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.4578, allocations: 3.938 kB / 0.5761 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.053e-05/0.4578, allocations: 14.39 kB / 0.5761 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.407e-06/0.4579, allocations: 0.9062 kB / 0.5761 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.4579, allocations: 29.7 kB / 0.5761 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 5.672e-05/0.4579, allocations: 9.141 kB / 0.5761 GB, free: 41.61 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.458, allocations: 0 / 0.5761 GB, free: 41.61 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.302e-06/0.458, allocations: 0 / 0.5761 GB, free: 41.61 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.458, allocations: 1.188 kB / 0.5761 GB, free: 41.61 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001535/0.4581, allocations: 313.9 kB / 0.5764 GB, free: 41.26 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.4582, allocations: 8.656 kB / 0.5765 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.4582, allocations: 6.062 kB / 0.5765 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.123e-05/0.4582, allocations: 168.3 kB / 0.5766 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4583, allocations: 5.688 kB / 0.5766 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.4583, allocations: 1.75 kB / 0.5766 GB, free: 41.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.1e-05/0.4583, allocations: 29.05 kB / 0.5767 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.4584, allocations: 192 / 0.5767 GB, free: 41.02 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.4584, allocations: 3.938 kB / 0.5767 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4584, allocations: 1.375 kB / 0.5767 GB, free: 41.01 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.576e-05/0.4584, allocations: 10.59 kB / 0.5767 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.291e-05/0.4585, allocations: 150.9 kB / 0.5768 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.4585, allocations: 32.86 kB / 0.5768 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.4586, allocations: 6.109 kB / 0.5768 GB, free: 40.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.4587, allocations: 86.94 kB / 0.5769 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.4587, allocations: 31.53 kB / 0.577 GB, free: 40.63 MB / 462.3 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4588, allocations: 0 / 0.577 GB, free: 40.63 MB / 462.3 MB Notification: Performance of matching and sorting (n=2): time 0.0001061/0.4589, allocations: 46.12 kB / 0.577 GB, free: 40.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.4589, allocations: 60.38 kB / 0.5771 GB, free: 40.52 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.404e-05/0.4589, allocations: 89.86 kB / 0.5771 GB, free: 40.42 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.4589, allocations: 26.86 kB / 0.5772 GB, free: 40.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.315e-06/0.4589, allocations: 80.14 kB / 0.5773 GB, free: 40.3 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.459, allocations: 5.125 kB / 0.5773 GB, free: 40.3 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.459, allocations: 13.72 kB / 0.5773 GB, free: 40.28 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.459, allocations: 312 kB / 0.5776 GB, free: 39.96 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.459, allocations: 2.25 kB / 0.5776 GB, free: 39.96 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-06/0.459, allocations: 5.156 kB / 0.5776 GB, free: 39.96 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.4591, allocations: 18.66 kB / 0.5776 GB, free: 39.95 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4591, allocations: 0 / 0.5776 GB, free: 39.95 MB / 462.3 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.641e-05/0.4591, allocations: 32.86 kB / 0.5776 GB, free: 39.91 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.4592, allocations: 6.25 kB / 0.5776 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4592, allocations: 3.938 kB / 0.5776 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4592, allocations: 3.938 kB / 0.5776 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.4592, allocations: 3.625 kB / 0.5776 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.4592, allocations: 0 / 0.5776 GB, free: 39.91 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.4593, allocations: 7.375 kB / 0.5776 GB, free: 39.9 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-06/0.4593, allocations: 0 / 0.5776 GB, free: 39.9 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 (2): * Single equations (assignments): 2 * 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.647e-05/0.4593, allocations: 115.3 kB / 0.5778 GB, free: 39.78 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.4593, allocations: 1.594 kB / 0.5778 GB, free: 39.78 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-05/0.4594, allocations: 44.08 kB / 0.5778 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4594, allocations: 0 / 0.5778 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4594, allocations: 0 / 0.5778 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.4594, allocations: 5.422 kB / 0.5778 GB, free: 39.73 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.122e-05/0.4595, allocations: 147.1 kB / 0.5779 GB, free: 39.54 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4595, allocations: 0 / 0.5779 GB, free: 39.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.4595, allocations: 16.16 kB / 0.578 GB, free: 39.53 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4595, allocations: 3.938 kB / 0.578 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.4595, allocations: 3.938 kB / 0.578 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4595, allocations: 1.469 kB / 0.578 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4595, allocations: 0 / 0.578 GB, free: 39.52 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.901e-05/0.4596, allocations: 69.36 kB / 0.578 GB, free: 39.44 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.4596, allocations: 82.77 kB / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.4596, allocations: 3.938 kB / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.128e-05/0.4596, allocations: 2.031 kB / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-06/0.4597, allocations: 3.984 kB / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.4597, allocations: 0 / 0.5781 GB, free: 39.34 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.022e-05/0.4597, allocations: 81.09 kB / 0.5782 GB, free: 39.26 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.4597, allocations: 0 / 0.5782 GB, free: 39.26 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0001819/0.4599, allocations: 1.875 kB / 0.5782 GB, free: 39.26 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.68e-05/0.46, allocations: 102.6 kB / 0.5783 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 5.694e-05/0.46, allocations: 9.812 kB / 0.5783 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.46, allocations: 0 / 0.5783 GB, free: 39.16 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 9.107e-06/0.46, allocations: 7.984 kB / 0.5783 GB, free: 39.15 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.4602, allocations: 5.875 kB / 0.5783 GB, free: 39.15 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.4603, allocations: 77.36 kB / 0.5784 GB, free: 39.05 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.37e-05/0.4604, allocations: 0.6755 MB / 0.5791 GB, free: 38.35 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 2.127e-05/0.4604, allocations: 5.281 kB / 0.5791 GB, free: 38.35 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-06/0.4604, allocations: 8.5 kB / 0.5791 GB, free: 38.34 MB / 462.3 MB Notification: Performance of SimCode: time 3.1e-07/0.4604, allocations: 0 / 0.5791 GB, free: 38.34 MB / 462.3 MB Notification: Performance of Templates: time 0.001818/0.4623, allocations: 291.1 kB / 0.5793 GB, free: 38.18 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches