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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.166/1.166, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009752/0.000975, allocations: 112.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.0.0-master/package.mo): time 0.6407/0.6407, allocations: 119.3 MB / 460.6 MB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009128/0.0009128, allocations: 55.06 kB / 0.5391 GB, free: 43.17 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1166, allocations: 80.7 MB / 0.6179 GB, free: 12.71 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestSat): time 0.001389/0.118, allocations: 456.5 kB / 0.6184 GB, free: 12.27 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0003373/0.1184, allocations: 171.9 kB / 0.6185 GB, free: 12.1 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.124e-05/0.1184, allocations: 0 / 0.6185 GB, free: 12.1 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.1184, allocations: 0 / 0.6185 GB, free: 12.1 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 5.24e-05/0.1185, allocations: 0 / 0.6185 GB, free: 12.1 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.1186, allocations: 15.92 kB / 0.6185 GB, free: 12.09 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 3.761e-05/0.1186, allocations: 3.984 kB / 0.6185 GB, free: 12.08 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1187, allocations: 8 kB / 0.6185 GB, free: 12.07 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.1187, allocations: 3.938 kB / 0.6186 GB, free: 12.07 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.1187, allocations: 0 / 0.6186 GB, free: 12.07 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1188, allocations: 0 / 0.6186 GB, free: 12.07 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.529e-05/0.1188, allocations: 15.98 kB / 0.6186 GB, free: 12.05 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.1188, allocations: 0 / 0.6186 GB, free: 12.05 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 1.549e-05/0.1189, allocations: 0 / 0.6186 GB, free: 12.05 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 6.76e-05/0.1189, allocations: 15.97 kB / 0.6186 GB, free: 12.04 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1189, allocations: 4 kB / 0.6186 GB, free: 12.04 MB / 442.8 MB Notification: Performance of FrontEnd: time 7.71e-07/0.119, allocations: 0 / 0.6186 GB, free: 12.04 MB / 442.8 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.119, allocations: 0 / 0.6186 GB, free: 12.04 MB / 442.8 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.0002885/0.1193, allocations: 315.6 kB / 0.6189 GB, free: 11.68 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1193, allocations: 11.97 kB / 0.6189 GB, free: 11.66 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.1193, allocations: 0.9375 kB / 0.6189 GB, free: 11.66 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.487e-05/0.1194, allocations: 164.4 kB / 0.6191 GB, free: 11.46 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1194, allocations: 4.375 kB / 0.6191 GB, free: 11.46 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.1195, allocations: 4.375 kB / 0.6191 GB, free: 11.46 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.421e-05/0.1195, allocations: 34.2 kB / 0.6191 GB, free: 11.42 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1196, allocations: 4.188 kB / 0.6191 GB, free: 11.41 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1196, allocations: 3.938 kB / 0.6191 GB, free: 11.41 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1196, allocations: 4 kB / 0.6191 GB, free: 11.41 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.1196, allocations: 4 kB / 0.6191 GB, free: 11.4 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.1197, allocations: 149.7 kB / 0.6193 GB, free: 11.21 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.504e-05/0.1198, allocations: 18.61 kB / 0.6193 GB, free: 11.18 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/0.1198, allocations: 8.922 kB / 0.6193 GB, free: 11.17 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.12, allocations: 85.09 kB / 0.6194 GB, free: 11.07 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.12, allocations: 42.5 kB / 0.6194 GB, free: 11.02 MB / 442.8 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.12, allocations: 4 kB / 0.6194 GB, free: 11.01 MB / 442.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001025/0.1201, allocations: 41.62 kB / 0.6194 GB, free: 10.96 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.1202, allocations: 51.41 kB / 0.6195 GB, free: 10.9 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.488e-05/0.1202, allocations: 93.8 kB / 0.6196 GB, free: 10.8 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.1202, allocations: 29.7 kB / 0.6196 GB, free: 10.77 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.005e-05/0.1202, allocations: 80.14 kB / 0.6197 GB, free: 10.68 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.1203, allocations: 4.031 kB / 0.6197 GB, free: 10.68 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.1203, allocations: 17.72 kB / 0.6197 GB, free: 10.66 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.1204, allocations: 310.8 kB / 0.62 GB, free: 10.34 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.1204, allocations: 8 kB / 0.62 GB, free: 10.34 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-06/0.1204, allocations: 3.984 kB / 0.62 GB, free: 10.33 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.491e-05/0.1204, allocations: 12.8 kB / 0.62 GB, free: 10.32 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1204, allocations: 0 / 0.62 GB, free: 10.32 MB / 442.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.793e-05/0.1205, allocations: 37.8 kB / 0.6201 GB, free: 10.27 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1205, allocations: 12 kB / 0.6201 GB, free: 10.26 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.1205, allocations: 0 / 0.6201 GB, free: 10.26 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1205, allocations: 3.938 kB / 0.6201 GB, free: 10.26 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.262e-05/0.1206, allocations: 4 kB / 0.6201 GB, free: 10.25 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1206, allocations: 0 / 0.6201 GB, free: 10.25 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.1206, allocations: 4.266 kB / 0.6201 GB, free: 10.25 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.1206, allocations: 0 / 0.6201 GB, free: 10.25 MB / 442.8 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 5.267e-05/0.1207, allocations: 117.7 kB / 0.6202 GB, free: 10.12 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.1207, allocations: 4 kB / 0.6202 GB, free: 10.12 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.63e-05/0.1208, allocations: 64.53 kB / 0.6203 GB, free: 10.05 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1208, allocations: 3.984 kB / 0.6203 GB, free: 10.04 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1208, allocations: 0 / 0.6203 GB, free: 10.04 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1208, allocations: 0 / 0.6203 GB, free: 10.04 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.879e-05/0.1209, allocations: 145.7 kB / 0.6204 GB, free: 9.852 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1209, allocations: 4 kB / 0.6204 GB, free: 9.848 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.1209, allocations: 0 / 0.6204 GB, free: 9.848 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1209, allocations: 0 / 0.6204 GB, free: 9.848 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1209, allocations: 11.92 kB / 0.6204 GB, free: 9.836 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1209, allocations: 4.031 kB / 0.6204 GB, free: 9.832 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1209, allocations: 0 / 0.6204 GB, free: 9.832 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1212, allocations: 0.6045 MB / 0.621 GB, free: 9.168 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.1212, allocations: 77.11 kB / 0.6211 GB, free: 9.074 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.1212, allocations: 8 kB / 0.6211 GB, free: 9.066 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.158e-05/0.1212, allocations: 4.031 kB / 0.6211 GB, free: 9.062 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.1212, allocations: 0 / 0.6211 GB, free: 9.062 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1212, allocations: 3.984 kB / 0.6211 GB, free: 9.059 MB / 442.8 MB Notification: Performance of sorting global known variables: time 2.099e-05/0.1213, allocations: 79.22 kB / 0.6212 GB, free: 8.98 MB / 442.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1213, allocations: 0 / 0.6212 GB, free: 8.98 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0002568/0.1215, allocations: 4 kB / 0.6212 GB, free: 8.977 MB / 442.8 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.832e-05/0.1216, allocations: 95.25 kB / 0.6213 GB, free: 8.871 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 4.931e-05/0.1217, allocations: 8 kB / 0.6213 GB, free: 8.863 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1217, allocations: 8 kB / 0.6213 GB, free: 8.855 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-06/0.1217, allocations: 4 kB / 0.6213 GB, free: 8.852 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.1218, allocations: 11.92 kB / 0.6213 GB, free: 8.84 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.122, allocations: 181.4 kB / 0.6215 GB, free: 8.621 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.1222, allocations: 0.677 MB / 0.6221 GB, free: 7.918 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 1.993e-05/0.1222, allocations: 3.938 kB / 0.6221 GB, free: 7.914 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.076e-05/0.1222, allocations: 11.5 kB / 0.6222 GB, free: 7.902 MB / 442.8 MB Notification: Performance of SimCode: time 2.01e-07/0.1222, allocations: 0 / 0.6222 GB, free: 7.902 MB / 442.8 MB Notification: Performance of Templates: time 0.001588/0.1238, allocations: 296.6 kB / 0.6224 GB, free: 7.613 MB / 442.8 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@2/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