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.001531/0.001531, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001819/0.001819, allocations: 216.2 kB / 22.25 MB, free: 4.855 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.797 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.433/3.433, allocations: 0.4892 GB / 0.7943 GB, free: 35.37 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.002143/0.002143, allocations: 71.83 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005599/0.3824, allocations: 3.455 MB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004796/0.3872, allocations: 2.423 MB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.3876, allocations: 19.81 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008556/0.3885, allocations: 242.4 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.3897, allocations: 0.5366 MB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.3912, allocations: 0.5612 MB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.393, allocations: 1.394 MB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.3933, allocations: 97.72 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007156/0.394, allocations: 442.6 kB / 1.334 GB, free: 8.652 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000694/0.3947, allocations: 478 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.3948, allocations: 56 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.395, allocations: 68 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004515/0.3954, allocations: 398.9 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004057/0.3958, allocations: 390.1 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.3969, allocations: 0.9608 MB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3969, allocations: 0 / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3969, allocations: 0 / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.397, allocations: 0 / 1.337 GB, free: 6.324 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.002543/0.3995, allocations: 1.241 MB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3995, allocations: 11.97 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.3998, allocations: 116.3 kB / 1.338 GB, free: 4.922 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.4011, allocations: 0.6066 MB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.4011, allocations: 45.03 kB / 1.339 GB, free: 4.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.4012, allocations: 56.33 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.4019, allocations: 414.9 kB / 1.339 GB, free: 3.754 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4019, allocations: 7.938 kB / 1.339 GB, free: 3.746 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.4019, allocations: 12 kB / 1.339 GB, free: 3.734 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4019, allocations: 12 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.4024, allocations: 230.4 kB / 1.339 GB, free: 3.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/0.4054, allocations: 1.832 MB / 1.341 GB, free: 1.602 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.4068, allocations: 0.5264 MB / 1.342 GB, free: 1.066 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.4071, allocations: 148.8 kB / 1.342 GB, free: 0.918 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4071, allocations: 8 kB / 1.342 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4072, allocations: 34.5 kB / 1.342 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.4072, allocations: 0 / 1.342 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.001589/0.4087, allocations: 0.661 MB / 1.343 GB, free: 196 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4088, allocations: 55.41 kB / 1.343 GB, free: 128 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.4101, allocations: 0.9192 MB / 1.343 GB, free: 15.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.4101, allocations: 41.7 kB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.4104, allocations: 377.2 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.4106, allocations: 130.9 kB / 1.344 GB, free: 14.64 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.4108, allocations: 166.6 kB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.411, allocations: 394.8 kB / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.4114, allocations: 241.8 kB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007844/0.4122, allocations: 0.6391 MB / 1.345 GB, free: 13.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.4136, allocations: 0.8918 MB / 1.346 GB, free: 11.93 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4136, allocations: 4 kB / 1.346 GB, free: 11.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001914/0.4155, allocations: 1.022 MB / 1.347 GB, free: 10.89 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4155, allocations: 11.98 kB / 1.347 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.4155, allocations: 16 kB / 1.347 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.416, allocations: 126.7 kB / 1.347 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.4167, allocations: 191.6 kB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004835/0.4215, allocations: 4.091 MB / 1.352 GB, free: 6.141 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.4228, allocations: 111.3 kB / 1.352 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.4229, allocations: 44 kB / 1.352 GB, free: 5.988 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.0004689/0.4233, allocations: 274 kB / 1.352 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.4235, allocations: 91.38 kB / 1.352 GB, free: 5.621 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.4237, allocations: 76.36 kB / 1.352 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4237, allocations: 4 kB / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.4237, allocations: 0 / 1.352 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4237, allocations: 7.984 kB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/0.4245, allocations: 476.8 kB / 1.353 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4245, allocations: 0 / 1.353 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.4249, allocations: 67.88 kB / 1.353 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003429/0.4252, allocations: 106.4 kB / 1.353 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.4253, allocations: 8 kB / 1.353 GB, free: 4.844 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.4297, allocations: 4.063 MB / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4297, allocations: 3.938 kB / 1.357 GB, free: 484 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.431, allocations: 0.7436 MB / 1.357 GB, free: 15.7 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.4314, allocations: 123.5 kB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.4315, allocations: 11.98 kB / 1.358 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.432, allocations: 27.95 kB / 1.358 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.4321, allocations: 23.95 kB / 1.358 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-05/0.4321, allocations: 8 kB / 1.358 GB, free: 15.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001134/0.4333, allocations: 0.6239 MB / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4333, allocations: 3.938 kB / 1.358 GB, free: 14.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001167/0.4344, allocations: 267.8 kB / 1.359 GB, free: 14.63 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.0001948/0.4346, allocations: 114.1 kB / 1.359 GB, free: 14.51 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.4363, allocations: 0.901 MB / 1.36 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4363, allocations: 8.062 kB / 1.36 GB, free: 13.56 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006916/0.437, allocations: 0.5038 MB / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008657/0.4379, allocations: 172.7 kB / 1.36 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.4409, allocations: 1.755 MB / 1.362 GB, free: 11.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.4414, allocations: 392.4 kB / 1.362 GB, free: 10.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004064/0.4418, allocations: 141.6 kB / 1.362 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.442, allocations: 55.38 kB / 1.362 GB, free: 10.46 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/0.442, allocations: 0 / 1.362 GB, free: 10.46 MB / 1.061 GB Notification: Performance of Templates: time 0.02362/0.4656, allocations: 11.84 MB / 1.374 GB, free: 14.85 MB / 1.076 GB " [Timeout remaining time 300] 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.868121560662985]