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.001441/0.001441, allocations: 105.4 kB / 16.45 MB, free: 6.398 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.001479/0.001479, allocations: 216.8 kB / 19.43 MB, free: 3.73 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.984 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.398/3.398, allocations: 0.4899 GB / 0.7916 GB, free: 33.21 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.002047/0.002047, allocations: 76.72 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4212, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006322/0.4275, allocations: 3.772 MB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00499/0.4325, allocations: 2.575 MB / 1.327 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000546/0.433, allocations: 23.81 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009101/0.4339, allocations: 254.4 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.4352, allocations: 0.5093 MB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.4366, allocations: 0.5395 MB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.4384, allocations: 1.387 MB / 1.33 GB, free: 9.719 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.4386, allocations: 105.2 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006545/0.4393, allocations: 438.5 kB / 1.331 GB, free: 9.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.44, allocations: 494 kB / 1.331 GB, free: 8.695 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.894e-05/0.4401, allocations: 56 kB / 1.331 GB, free: 8.641 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.4402, allocations: 68 kB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004293/0.4407, allocations: 382.9 kB / 1.332 GB, free: 8.199 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004936/0.4412, allocations: 473.6 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.4423, allocations: 0.9529 MB / 1.333 GB, free: 6.777 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4423, allocations: 0 / 1.333 GB, free: 6.777 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4423, allocations: 0 / 1.333 GB, free: 6.777 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.4423, allocations: 0 / 1.333 GB, free: 6.777 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.002669/0.445, allocations: 1.315 MB / 1.334 GB, free: 5.406 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4451, allocations: 8.031 kB / 1.334 GB, free: 5.398 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/0.4454, allocations: 112.3 kB / 1.334 GB, free: 5.289 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.4466, allocations: 0.68 MB / 1.335 GB, free: 4.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.4466, allocations: 40.97 kB / 1.335 GB, free: 4.531 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/0.4467, allocations: 56.38 kB / 1.335 GB, free: 4.477 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000692/0.4474, allocations: 418.9 kB / 1.335 GB, free: 4.035 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4474, allocations: 0 / 1.335 GB, free: 4.035 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.4475, allocations: 12 kB / 1.336 GB, free: 4.023 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.4475, allocations: 8 kB / 1.336 GB, free: 4.016 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004394/0.4479, allocations: 234.4 kB / 1.336 GB, free: 3.785 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.4513, allocations: 2.498 MB / 1.338 GB, free: 1.105 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.4528, allocations: 0.5375 MB / 1.339 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.4531, allocations: 148.8 kB / 1.339 GB, free: 420 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.4531, allocations: 4 kB / 1.339 GB, free: 416 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4531, allocations: 38.56 kB / 1.339 GB, free: 368 kB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.4531, allocations: 0 / 1.339 GB, free: 368 kB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001864/0.455, allocations: 0.8895 MB / 1.34 GB, free: 15.4 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.455, allocations: 55.41 kB / 1.34 GB, free: 15.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.4563, allocations: 0.9271 MB / 1.341 GB, free: 14.39 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.4564, allocations: 41.7 kB / 1.341 GB, free: 14.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.4567, allocations: 373.2 kB / 1.341 GB, free: 13.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.4569, allocations: 119 kB / 1.341 GB, free: 13.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.4571, allocations: 174.6 kB / 1.341 GB, free: 13.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002473/0.4573, allocations: 390.8 kB / 1.342 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/0.4578, allocations: 245.8 kB / 1.342 GB, free: 13.05 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000806/0.4586, allocations: 0.6387 MB / 1.343 GB, free: 12.23 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.4598, allocations: 0.893 MB / 1.343 GB, free: 11.14 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.4598, allocations: 4 kB / 1.343 GB, free: 11.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001829/0.4617, allocations: 1.014 MB / 1.344 GB, free: 10.11 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.4617, allocations: 14.5 kB / 1.344 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.4617, allocations: 19.94 kB / 1.345 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.4621, allocations: 126.8 kB / 1.345 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.4628, allocations: 191.7 kB / 1.345 GB, free: 9.754 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/0.4669, allocations: 4.473 MB / 1.349 GB, free: 4.855 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.468, allocations: 123.2 kB / 1.349 GB, free: 4.734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.468, allocations: 44.06 kB / 1.349 GB, free: 4.691 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.0003796/0.4684, allocations: 265.4 kB / 1.35 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.4686, allocations: 91.39 kB / 1.35 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.4687, allocations: 76.52 kB / 1.35 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4687, allocations: 4 kB / 1.35 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.4687, allocations: 3.938 kB / 1.35 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.4687, allocations: 0 / 1.35 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008747/0.4696, allocations: 0.6609 MB / 1.35 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.4696, allocations: 7.922 kB / 1.35 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.4699, allocations: 63.89 kB / 1.35 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/0.4703, allocations: 102.5 kB / 1.351 GB, free: 3.355 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.4703, allocations: 11.98 kB / 1.351 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003946/0.4742, allocations: 4.449 MB / 1.355 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4742, allocations: 0 / 1.355 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.4755, allocations: 0.7364 MB / 1.356 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003743/0.4759, allocations: 220.6 kB / 1.356 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.476, allocations: 11.98 kB / 1.356 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005271/0.4765, allocations: 27.95 kB / 1.356 GB, free: 13.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.4766, allocations: 27.91 kB / 1.356 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.4766, allocations: 4 kB / 1.356 GB, free: 13.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009777/0.4776, allocations: 0.6278 MB / 1.357 GB, free: 12.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4776, allocations: 0 / 1.357 GB, free: 12.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009413/0.4785, allocations: 271.8 kB / 1.357 GB, free: 12.53 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.0001626/0.4787, allocations: 113.2 kB / 1.357 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.4802, allocations: 0.9045 MB / 1.358 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4802, allocations: 0 / 1.358 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008102/0.4811, allocations: 0.5116 MB / 1.358 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/0.4819, allocations: 173.5 kB / 1.358 GB, free: 10.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.4847, allocations: 1.746 MB / 1.36 GB, free: 8.965 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.4854, allocations: 0.9917 MB / 1.361 GB, free: 7.945 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003754/0.4858, allocations: 153.8 kB / 1.361 GB, free: 7.793 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.486, allocations: 51.38 kB / 1.361 GB, free: 7.742 MB / 1.061 GB Notification: Performance of SimCode: time 1.102e-06/0.486, allocations: 0 / 1.361 GB, free: 7.742 MB / 1.061 GB Notification: Performance of Templates: time 0.02042/0.5064, allocations: 10.49 MB / 1.372 GB, free: 13.37 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 -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/jenkins/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.721659095957875]