Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 80.61 kB / 20.68 MB, free: 1.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002396/0.002396, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.043/1.043, allocations: 88.07 MB / 348.7 MB, free: 1.816 MB / 318.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 3.938 kB / 0.5234 GB, free: 8.355 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.448e-05, allocations: 6.219 kB / 0.5235 GB, free: 8.348 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001292/0.001327, allocations: 390.8 kB / 0.5238 GB, free: 8.059 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0001896/0.001517, allocations: 26.83 kB / 0.5238 GB, free: 8.039 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.001545, allocations: 0.9062 kB / 0.5238 GB, free: 8.039 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.001559, allocations: 0 / 0.5238 GB, free: 8.039 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.001614, allocations: 0 / 0.5238 GB, free: 8.039 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.001768, allocations: 7.375 kB / 0.5239 GB, free: 8.035 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 4.654e-05/0.001815, allocations: 5.781 kB / 0.5239 GB, free: 8.031 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.834e-05/0.001863, allocations: 1.844 kB / 0.5239 GB, free: 8.031 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 3.296e-05/0.001896, allocations: 8.891 kB / 0.5239 GB, free: 8.023 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.001944, allocations: 4.922 kB / 0.5239 GB, free: 8.02 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.001957, allocations: 0.9062 kB / 0.5239 GB, free: 8.02 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 5.906e-05/0.002016, allocations: 9.469 kB / 0.5239 GB, free: 8.016 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.002027, allocations: 4 kB / 0.5239 GB, free: 8.012 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 1.426e-05/0.002042, allocations: 4.844 kB / 0.5239 GB, free: 8.008 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 7.924e-05/0.002121, allocations: 8.609 kB / 0.5239 GB, free: 8.004 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.002123, allocations: 0 / 0.5239 GB, free: 8.004 MB / 446.2 MB Notification: Performance of FrontEnd: time 7.22e-07/0.002124, allocations: 4.844 kB / 0.5239 GB, free: 8 MB / 446.2 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.002127, allocations: 0 / 0.5239 GB, free: 8 MB / 446.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.0002154/0.002343, allocations: 247 kB / 0.5241 GB, free: 7.73 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.002382, allocations: 14.12 kB / 0.5242 GB, free: 7.727 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.002412, allocations: 0.9375 kB / 0.5242 GB, free: 7.727 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.322e-05/0.002465, allocations: 103.6 kB / 0.5243 GB, free: 7.602 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.002477, allocations: 1.281 kB / 0.5243 GB, free: 7.602 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.002485, allocations: 1.281 kB / 0.5243 GB, free: 7.602 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.494e-05/0.00257, allocations: 37.5 kB / 0.5243 GB, free: 7.562 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.002579, allocations: 192 / 0.5243 GB, free: 7.562 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.002587, allocations: 384 / 0.5243 GB, free: 7.562 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.002591, allocations: 1.281 kB / 0.5243 GB, free: 7.562 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.002624, allocations: 10.72 kB / 0.5243 GB, free: 7.555 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.318e-05/0.002717, allocations: 104 kB / 0.5244 GB, free: 7.426 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 5.035e-05/0.002767, allocations: 19.2 kB / 0.5244 GB, free: 7.402 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.002787, allocations: 15.59 kB / 0.5244 GB, free: 7.387 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.002975, allocations: 6.469 kB / 0.5244 GB, free: 7.387 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.002995, allocations: 31.47 kB / 0.5245 GB, free: 7.348 MB / 446.2 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.002996, allocations: 0.9375 kB / 0.5245 GB, free: 7.348 MB / 446.2 MB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.003129, allocations: 46.19 kB / 0.5245 GB, free: 7.305 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.003155, allocations: 52.53 kB / 0.5246 GB, free: 7.242 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.607e-05/0.003171, allocations: 93.98 kB / 0.5247 GB, free: 7.141 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.003178, allocations: 25.7 kB / 0.5247 GB, free: 7.109 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-06/0.003188, allocations: 82.8 kB / 0.5248 GB, free: 7.027 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.00322, allocations: 3.953 kB / 0.5248 GB, free: 7.023 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.003244, allocations: 16.38 kB / 0.5248 GB, free: 7.004 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 4.184e-05/0.003286, allocations: 318.8 kB / 0.5251 GB, free: 6.684 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.003296, allocations: 2.969 kB / 0.5251 GB, free: 6.684 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.003304, allocations: 2.469 kB / 0.5251 GB, free: 6.684 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.00333, allocations: 12.61 kB / 0.5251 GB, free: 6.672 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.003331, allocations: 0 / 0.5251 GB, free: 6.672 MB / 446.2 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.864e-05/0.00338, allocations: 41.45 kB / 0.5251 GB, free: 6.633 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.003394, allocations: 6.031 kB / 0.5251 GB, free: 6.633 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.003398, allocations: 0 / 0.5251 GB, free: 6.633 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.003413, allocations: 1.406 kB / 0.5252 GB, free: 6.633 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.003465, allocations: 7.141 kB / 0.5252 GB, free: 6.629 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.003469, allocations: 0 / 0.5252 GB, free: 6.629 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.003483, allocations: 3.938 kB / 0.5252 GB, free: 6.625 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.003487, allocations: 1.281 kB / 0.5252 GB, free: 6.625 MB / 446.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 4.072e-05/0.003527, allocations: 111.4 kB / 0.5253 GB, free: 6.508 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.003534, allocations: 1.594 kB / 0.5253 GB, free: 6.508 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.692e-05/0.003621, allocations: 51.7 kB / 0.5253 GB, free: 6.457 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.003623, allocations: 3.938 kB / 0.5253 GB, free: 6.453 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.003627, allocations: 5.312 kB / 0.5253 GB, free: 6.449 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.00363, allocations: 3.938 kB / 0.5253 GB, free: 6.445 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.166e-05/0.003672, allocations: 103 kB / 0.5254 GB, free: 6.316 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.003673, allocations: 1.375 kB / 0.5254 GB, free: 6.316 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.003693, allocations: 3.281 kB / 0.5254 GB, free: 6.316 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.003694, allocations: 0 / 0.5254 GB, free: 6.316 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.003701, allocations: 3.984 kB / 0.5254 GB, free: 6.312 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.003703, allocations: 5.594 kB / 0.5254 GB, free: 6.309 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.003704, allocations: 0 / 0.5254 GB, free: 6.309 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.765e-05/0.003761, allocations: 61.89 kB / 0.5255 GB, free: 6.238 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-06/0.003767, allocations: 9.594 kB / 0.5255 GB, free: 6.23 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.003778, allocations: 5.703 kB / 0.5255 GB, free: 6.227 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.003789, allocations: 0 / 0.5255 GB, free: 6.227 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.003802, allocations: 1.781 kB / 0.5255 GB, free: 6.227 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.003804, allocations: 0 / 0.5255 GB, free: 6.227 MB / 446.2 MB Notification: Performance of sorting global known variables: time 1.264e-05/0.003817, allocations: 77.95 kB / 0.5256 GB, free: 6.152 MB / 446.2 MB Notification: Performance of sort global known variables: time 8e-08/0.003817, allocations: 0 / 0.5256 GB, free: 6.152 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.0002144/0.004031, allocations: 7.562 kB / 0.5256 GB, free: 6.148 MB / 446.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 0.0001014/0.004132, allocations: 113.3 kB / 0.5257 GB, free: 6.043 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 7.508e-05/0.004208, allocations: 10.45 kB / 0.5257 GB, free: 6.039 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.004209, allocations: 0 / 0.5257 GB, free: 6.039 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.004219, allocations: 3.844 kB / 0.5257 GB, free: 6.039 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.00435, allocations: 4.375 kB / 0.5257 GB, free: 6.039 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.004551, allocations: 82.75 kB / 0.5258 GB, free: 5.941 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.004581, allocations: 58.53 kB / 0.5259 GB, free: 5.867 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.004601, allocations: 9.516 kB / 0.5259 GB, free: 5.859 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.004618, allocations: 9.781 kB / 0.5259 GB, free: 5.852 MB / 446.2 MB Notification: Performance of SimCode: time 4.91e-07/0.004618, allocations: 0 / 0.5259 GB, free: 5.852 MB / 446.2 MB Notification: Performance of Templates: time 0.002614/0.007233, allocations: 293.8 kB / 0.5262 GB, free: 5.703 MB / 446.2 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.710059840232134]