Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.001385/0.001385, allocations: 109.6 kB / 17.01 MB, free: 5.738 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.001374/0.001374, allocations: 195.5 kB / 17.96 MB, free: 5.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4135/0.4135, allocations: 225.7 MB / 244.4 MB, free: 6.527 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5705/0.5705, allocations: 119.5 MB / 414 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009845/0.0009845, allocations: 59.89 kB / 0.4946 GB, free: 13.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4199, allocations: 80.68 MB / 0.5734 GB, free: 56.84 MB / 478.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001125/0.4211, allocations: 401.1 kB / 0.5737 GB, free: 56.63 MB / 478.2 MB Notification: Performance of NFInst.instExpressions: time 0.0002586/0.4214, allocations: 168.5 kB / 0.5739 GB, free: 56.52 MB / 478.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.4214, allocations: 0 / 0.5739 GB, free: 56.52 MB / 478.2 MB Notification: Performance of NFTyping.typeComponents: time 8.556e-06/0.4214, allocations: 0 / 0.5739 GB, free: 56.52 MB / 478.2 MB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.4215, allocations: 0 / 0.5739 GB, free: 56.52 MB / 478.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.4216, allocations: 13.5 kB / 0.5739 GB, free: 56.52 MB / 478.2 MB Notification: Performance of NFFlatten.flatten: time 3.11e-05/0.4216, allocations: 9.953 kB / 0.5739 GB, free: 56.51 MB / 478.2 MB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.4217, allocations: 2.953 kB / 0.5739 GB, free: 56.51 MB / 478.2 MB Notification: Performance of NFEvalConstants.evaluate: time 1.315e-05/0.4217, allocations: 1.844 kB / 0.5739 GB, free: 56.51 MB / 478.2 MB Notification: Performance of NFSimplifyModel.simplify: time 3.096e-05/0.4217, allocations: 3.844 kB / 0.5739 GB, free: 56.51 MB / 478.2 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.4217, allocations: 0 / 0.5739 GB, free: 56.51 MB / 478.2 MB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.4218, allocations: 14.05 kB / 0.5739 GB, free: 56.51 MB / 478.2 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.4218, allocations: 5.531 kB / 0.5739 GB, free: 56.5 MB / 478.2 MB Notification: Performance of NFVerifyModel.verify: time 1.128e-05/0.4218, allocations: 1.281 kB / 0.5739 GB, free: 56.5 MB / 478.2 MB Notification: Performance of NFConvertDAE.convert: time 5.283e-05/0.4219, allocations: 15.55 kB / 0.574 GB, free: 56.5 MB / 478.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.4219, allocations: 0 / 0.574 GB, free: 56.5 MB / 478.2 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4219, allocations: 0 / 0.574 GB, free: 56.5 MB / 478.2 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.4219, allocations: 2.812 kB / 0.574 GB, free: 56.5 MB / 478.2 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.0001655/0.4221, allocations: 315.4 kB / 0.5743 GB, free: 56.14 MB / 478.2 MB Notification: Performance of prepare preOptimizeDAE: time 2.455e-05/0.4221, allocations: 8.844 kB / 0.5743 GB, free: 56.14 MB / 478.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.054e-05/0.4221, allocations: 2.188 kB / 0.5743 GB, free: 56.14 MB / 478.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.803e-05/0.4221, allocations: 165.9 kB / 0.5744 GB, free: 55.95 MB / 478.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.4222, allocations: 384 / 0.5744 GB, free: 55.95 MB / 478.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.4222, allocations: 4.875 kB / 0.5744 GB, free: 55.95 MB / 478.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.802e-05/0.4222, allocations: 35.61 kB / 0.5745 GB, free: 55.91 MB / 478.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.4223, allocations: 3.938 kB / 0.5745 GB, free: 55.91 MB / 478.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4223, allocations: 4.641 kB / 0.5745 GB, free: 55.9 MB / 478.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.4223, allocations: 1.281 kB / 0.5745 GB, free: 55.9 MB / 478.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.4223, allocations: 3.281 kB / 0.5745 GB, free: 55.9 MB / 478.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.275e-05/0.4224, allocations: 149.7 kB / 0.5746 GB, free: 55.71 MB / 478.2 MB Notification: Performance of preOpt comSubExp (simulation): time 3.109e-05/0.4224, allocations: 25.16 kB / 0.5746 GB, free: 55.68 MB / 478.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.4224, allocations: 11.33 kB / 0.5747 GB, free: 55.67 MB / 478.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.4226, allocations: 85.41 kB / 0.5747 GB, free: 55.58 MB / 478.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.4226, allocations: 35.81 kB / 0.5748 GB, free: 55.54 MB / 478.2 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.4226, allocations: 0 / 0.5748 GB, free: 55.54 MB / 478.2 MB Notification: Performance of matching and sorting (n=2): time 9.481e-05/0.4227, allocations: 48.53 kB / 0.5748 GB, free: 55.49 MB / 478.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/0.4227, allocations: 56.05 kB / 0.5749 GB, free: 55.43 MB / 478.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.161e-05/0.4227, allocations: 89.86 kB / 0.575 GB, free: 55.33 MB / 478.2 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.4227, allocations: 30.95 kB / 0.575 GB, free: 55.29 MB / 478.2 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-06/0.4228, allocations: 80.14 kB / 0.5751 GB, free: 55.21 MB / 478.2 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.4228, allocations: 5.938 kB / 0.5751 GB, free: 55.21 MB / 478.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.4228, allocations: 12.91 kB / 0.5751 GB, free: 55.19 MB / 478.2 MB Notification: Performance of setup shared object (initialization): time 2.838e-05/0.4228, allocations: 311.5 kB / 0.5754 GB, free: 54.88 MB / 478.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.4229, allocations: 11.45 kB / 0.5754 GB, free: 54.87 MB / 478.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.4229, allocations: 1.25 kB / 0.5754 GB, free: 54.87 MB / 478.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.072e-05/0.4229, allocations: 14.39 kB / 0.5754 GB, free: 54.86 MB / 478.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4229, allocations: 0 / 0.5754 GB, free: 54.86 MB / 478.2 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.089e-05/0.4229, allocations: 40.52 kB / 0.5754 GB, free: 54.82 MB / 478.2 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.4229, allocations: 5.062 kB / 0.5755 GB, free: 54.82 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.423, allocations: 0 / 0.5755 GB, free: 54.82 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.423, allocations: 5.891 kB / 0.5755 GB, free: 54.82 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.63e-05/0.423, allocations: 3.422 kB / 0.5755 GB, free: 54.82 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.423, allocations: 4.094 kB / 0.5755 GB, free: 54.82 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.063e-05/0.423, allocations: 1.25 kB / 0.5755 GB, free: 54.82 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-06/0.423, allocations: 0 / 0.5755 GB, free: 54.82 MB / 478.2 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 2.948e-05/0.4231, allocations: 108.2 kB / 0.5756 GB, free: 54.7 MB / 478.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-06/0.4231, allocations: 1.25 kB / 0.5756 GB, free: 54.7 MB / 478.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.419e-05/0.4231, allocations: 55.42 kB / 0.5756 GB, free: 54.65 MB / 478.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.4232, allocations: 0 / 0.5756 GB, free: 54.65 MB / 478.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4232, allocations: 5.281 kB / 0.5756 GB, free: 54.65 MB / 478.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.4232, allocations: 0.6562 kB / 0.5756 GB, free: 54.65 MB / 478.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.704e-05/0.4232, allocations: 154.3 kB / 0.5758 GB, free: 54.45 MB / 478.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.4232, allocations: 0 / 0.5758 GB, free: 54.45 MB / 478.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.4232, allocations: 3.156 kB / 0.5758 GB, free: 54.45 MB / 478.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.4232, allocations: 1.281 kB / 0.5758 GB, free: 54.45 MB / 478.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.4232, allocations: 4.594 kB / 0.5758 GB, free: 54.45 MB / 478.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4233, allocations: 1.25 kB / 0.5758 GB, free: 54.45 MB / 478.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.4233, allocations: 3.938 kB / 0.5758 GB, free: 54.45 MB / 478.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.383e-05/0.4233, allocations: 72.41 kB / 0.5759 GB, free: 54.37 MB / 478.2 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.4233, allocations: 83 kB / 0.5759 GB, free: 54.27 MB / 478.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.4233, allocations: 4.453 kB / 0.5759 GB, free: 54.27 MB / 478.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-06/0.4233, allocations: 2.234 kB / 0.5759 GB, free: 54.27 MB / 478.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.4234, allocations: 0 / 0.5759 GB, free: 54.27 MB / 478.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.4234, allocations: 1.281 kB / 0.5759 GB, free: 54.27 MB / 478.2 MB Notification: Performance of sorting global known variables: time 8.446e-06/0.4234, allocations: 76.22 kB / 0.576 GB, free: 54.19 MB / 478.2 MB Notification: Performance of sort global known variables: time 9e-08/0.4234, allocations: 0 / 0.576 GB, free: 54.19 MB / 478.2 MB Notification: Performance of remove unused functions: time 0.0001581/0.4235, allocations: 3.75 kB / 0.576 GB, free: 54.19 MB / 478.2 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 6.073e-05/0.4236, allocations: 102.1 kB / 0.5761 GB, free: 54.1 MB / 478.2 MB Notification: Performance of simCode: created initialization part: time 6.663e-05/0.4237, allocations: 16.44 kB / 0.5761 GB, free: 54.09 MB / 478.2 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4237, allocations: 0 / 0.5761 GB, free: 54.09 MB / 478.2 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.4237, allocations: 8.734 kB / 0.5761 GB, free: 54.09 MB / 478.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.4238, allocations: 1.25 kB / 0.5761 GB, free: 54.09 MB / 478.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001102/0.4239, allocations: 87.23 kB / 0.5762 GB, free: 53.98 MB / 478.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.415e-05/0.424, allocations: 0.6768 MB / 0.5769 GB, free: 53.29 MB / 478.2 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.424, allocations: 1.25 kB / 0.5769 GB, free: 53.29 MB / 478.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-06/0.4241, allocations: 9.484 kB / 0.5769 GB, free: 53.28 MB / 478.2 MB Notification: Performance of SimCode: time 2.11e-07/0.4241, allocations: 0 / 0.5769 GB, free: 53.28 MB / 478.2 MB Notification: Performance of Templates: time 0.002073/0.4261, allocations: 351.5 kB / 0.5772 GB, free: 53.15 MB / 478.2 MB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat_res.mat","../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches