Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001633/0.001633, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002009/0.002009, allocations: 207.9 kB / 22.99 MB, free: 4.984 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.343/3.343, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 70.7 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.428/0.43, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005928/0.4359, allocations: 3.453 MB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005175/0.4411, allocations: 2.415 MB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005991/0.4417, allocations: 19.81 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009104/0.4426, allocations: 242.4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.4442, allocations: 0.5561 MB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.4461, allocations: 0.5663 MB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002741/0.4488, allocations: 1.398 MB / 1.336 GB, free: 8.348 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.4491, allocations: 101.7 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000985/0.4501, allocations: 450.5 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007991/0.4509, allocations: 494.2 kB / 1.337 GB, free: 7.312 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.451, allocations: 59.94 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.4513, allocations: 72 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004725/0.4517, allocations: 402.8 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.4522, allocations: 390.2 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.4535, allocations: 0.9608 MB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4535, allocations: 0 / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4535, allocations: 0 / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.4535, allocations: 0 / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003002/0.4565, allocations: 1.241 MB / 1.34 GB, free: 4.164 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4565, allocations: 8.031 kB / 1.34 GB, free: 4.156 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.4569, allocations: 112.3 kB / 1.34 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.4582, allocations: 0.6182 MB / 1.34 GB, free: 3.406 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.4582, allocations: 37.03 kB / 1.34 GB, free: 3.371 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.4583, allocations: 60.33 kB / 1.34 GB, free: 3.312 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.459, allocations: 410.9 kB / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.459, allocations: 0 / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.4591, allocations: 16 kB / 1.341 GB, free: 2.859 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.4591, allocations: 12 kB / 1.341 GB, free: 2.848 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.4595, allocations: 238.4 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/0.4628, allocations: 1.829 MB / 1.343 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.4645, allocations: 0.5259 MB / 1.343 GB, free: 192 kB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/0.4647, allocations: 148.8 kB / 1.343 GB, free: 40 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.4648, allocations: 3.938 kB / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/0.4648, allocations: 38.64 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.294e-06/0.4648, allocations: 0 / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=30): time 0.001896/0.4667, allocations: 0.6571 MB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.4668, allocations: 59.41 kB / 1.344 GB, free: 15.24 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.4683, allocations: 0.9192 MB / 1.345 GB, free: 14.31 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.4683, allocations: 41.7 kB / 1.345 GB, free: 14.26 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.4687, allocations: 373.2 kB / 1.345 GB, free: 13.9 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.4689, allocations: 130.9 kB / 1.346 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.4691, allocations: 170.6 kB / 1.346 GB, free: 13.6 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000235/0.4694, allocations: 386.8 kB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.4698, allocations: 249.8 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.4706, allocations: 0.6352 MB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.472, allocations: 0.8957 MB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.472, allocations: 8 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002118/0.4741, allocations: 1.015 MB / 1.349 GB, free: 10.02 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.4741, allocations: 14.03 kB / 1.349 GB, free: 10 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.4742, allocations: 24.05 kB / 1.349 GB, free: 9.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004695/0.4746, allocations: 126.4 kB / 1.349 GB, free: 9.848 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/0.4753, allocations: 187.6 kB / 1.349 GB, free: 9.664 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.4792, allocations: 4.091 MB / 1.353 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4805, allocations: 115.6 kB / 1.353 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.4806, allocations: 36 kB / 1.353 GB, free: 5.113 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004935/0.4811, allocations: 277.9 kB / 1.354 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.4812, allocations: 87.38 kB / 1.354 GB, free: 4.746 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.4814, allocations: 72.42 kB / 1.354 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4814, allocations: 4 kB / 1.354 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.4814, allocations: 192 / 1.354 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.4814, allocations: 7.984 kB / 1.354 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007428/0.4822, allocations: 488.8 kB / 1.354 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4822, allocations: 0 / 1.354 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.4825, allocations: 59.89 kB / 1.354 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.4829, allocations: 106.4 kB / 1.354 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.4829, allocations: 8 kB / 1.354 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/0.4867, allocations: 4.074 MB / 1.358 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4867, allocations: 0 / 1.358 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/0.4882, allocations: 0.7356 MB / 1.359 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.4886, allocations: 123.4 kB / 1.359 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.4887, allocations: 11.98 kB / 1.359 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.4893, allocations: 23.97 kB / 1.359 GB, free: 14.67 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4894, allocations: 24.02 kB / 1.359 GB, free: 14.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.4894, allocations: 19.94 kB / 1.359 GB, free: 14.63 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001025/0.4904, allocations: 0.6239 MB / 1.36 GB, free: 14.01 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4904, allocations: 0 / 1.36 GB, free: 14.01 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001132/0.4915, allocations: 267.8 kB / 1.36 GB, free: 13.75 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.4918, allocations: 103.2 kB / 1.36 GB, free: 13.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.4935, allocations: 0.9032 MB / 1.361 GB, free: 12.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.4935, allocations: 4 kB / 1.361 GB, free: 12.69 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007377/0.4942, allocations: 0.5055 MB / 1.362 GB, free: 12.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.4952, allocations: 183 kB / 1.362 GB, free: 11.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.4983, allocations: 1.751 MB / 1.364 GB, free: 10.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.4988, allocations: 400.4 kB / 1.364 GB, free: 9.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004231/0.4992, allocations: 141.6 kB / 1.364 GB, free: 9.629 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.4994, allocations: 47.44 kB / 1.364 GB, free: 9.582 MB / 1.061 GB Notification: Performance of SimCode: time 1.152e-06/0.4994, allocations: 0 / 1.364 GB, free: 9.582 MB / 1.061 GB Notification: Performance of Templates: time 0.02331/0.5227, allocations: 11.96 MB / 1.376 GB, free: 13.85 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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: 9.85957907399279]