Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001548/0.001548, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002153/0.002153, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.193/3.193, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 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.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer") [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.002087/0.002087, allocations: 67.05 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3907, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004932/0.3956, allocations: 2.594 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004662/0.4003, allocations: 2.617 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003073/0.4006, allocations: 19.88 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.4022, allocations: 478.2 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007316/0.4029, allocations: 298.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.4041, allocations: 409.9 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.4061, allocations: 1.587 MB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.4063, allocations: 62.44 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007483/0.4071, allocations: 482.8 kB / 1.335 GB, free: 9.355 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007305/0.4078, allocations: 442.5 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.312e-05/0.4079, allocations: 48 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.4081, allocations: 60 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003389/0.4084, allocations: 295.2 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.4088, allocations: 302.5 kB / 1.336 GB, free: 8.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.4099, allocations: 0.9341 MB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4099, allocations: 0 / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4099, allocations: 3.938 kB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.4099, allocations: 0 / 1.337 GB, free: 7.289 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002296/0.4122, allocations: 1.111 MB / 1.338 GB, free: 6.145 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4122, allocations: 8.031 kB / 1.338 GB, free: 6.137 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.4125, allocations: 80.47 kB / 1.338 GB, free: 6.059 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.4136, allocations: 0.6227 MB / 1.338 GB, free: 5.414 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.4137, allocations: 32.88 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.4138, allocations: 40.33 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.4144, allocations: 378 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.4144, allocations: 7.938 kB / 1.339 GB, free: 4.945 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.4144, allocations: 12 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4144, allocations: 4 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.4149, allocations: 237.5 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003506/0.4184, allocations: 1.753 MB / 1.341 GB, free: 2.887 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009953/0.4194, allocations: 378.5 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.4196, allocations: 140.8 kB / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.4196, allocations: 0 / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4196, allocations: 42.48 kB / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.4196, allocations: 0 / 1.341 GB, free: 2.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001035/0.4207, allocations: 467.9 kB / 1.342 GB, free: 1.852 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.4207, allocations: 55.41 kB / 1.342 GB, free: 1.785 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.422, allocations: 0.9259 MB / 1.343 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.4221, allocations: 37.7 kB / 1.343 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.4224, allocations: 312.7 kB / 1.343 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-05/0.4225, allocations: 71.38 kB / 1.343 GB, free: 436 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.4227, allocations: 126.3 kB / 1.343 GB, free: 304 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.4229, allocations: 382.8 kB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.4233, allocations: 237.1 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.4239, allocations: 0.506 MB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009403/0.4248, allocations: 0.6971 MB / 1.345 GB, free: 14.22 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4248, allocations: 7.938 kB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001317/0.4262, allocations: 0.812 MB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4262, allocations: 12.03 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.4262, allocations: 12 kB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.4264, allocations: 52.77 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.4269, allocations: 139.8 kB / 1.346 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.4284, allocations: 1.412 MB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.4291, allocations: 127.4 kB / 1.347 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.4291, allocations: 28 kB / 1.347 GB, free: 11.51 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004452/0.4296, allocations: 343.4 kB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4297, allocations: 67.52 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.4298, allocations: 69.8 kB / 1.348 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4298, allocations: 0 / 1.348 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4298, allocations: 3.938 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4298, allocations: 8.094 kB / 1.348 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.4304, allocations: 436.9 kB / 1.348 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4304, allocations: 0 / 1.348 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.4306, allocations: 47.95 kB / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.4308, allocations: 40.83 kB / 1.348 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.4308, allocations: 7.984 kB / 1.348 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.4321, allocations: 1.404 MB / 1.35 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4321, allocations: 3.984 kB / 1.35 GB, free: 8.945 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008295/0.4329, allocations: 0.5659 MB / 1.35 GB, free: 8.359 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.4332, allocations: 131.5 kB / 1.351 GB, free: 8.23 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.4333, allocations: 8 kB / 1.351 GB, free: 8.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.4337, allocations: 43.91 kB / 1.351 GB, free: 8.18 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.4338, allocations: 12.11 kB / 1.351 GB, free: 8.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.4338, allocations: 8 kB / 1.351 GB, free: 8.16 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009178/0.4347, allocations: 0.659 MB / 1.351 GB, free: 7.504 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4347, allocations: 0 / 1.351 GB, free: 7.504 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006518/0.4353, allocations: 187.8 kB / 1.351 GB, free: 7.32 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001382/0.4355, allocations: 103.2 kB / 1.352 GB, free: 7.211 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009937/0.4365, allocations: 0.5715 MB / 1.352 GB, free: 6.629 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4365, allocations: 0 / 1.352 GB, free: 6.629 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.4368, allocations: 247.2 kB / 1.352 GB, free: 6.375 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.4376, allocations: 160.6 kB / 1.352 GB, free: 6.223 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.4402, allocations: 1.579 MB / 1.354 GB, free: 4.609 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.4407, allocations: 404.8 kB / 1.354 GB, free: 4.188 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.4408, allocations: 43.38 kB / 1.354 GB, free: 4.145 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.4408, allocations: 0 / 1.354 GB, free: 4.145 MB / 1.045 GB Notification: Performance of Templates: time 0.0181/0.4589, allocations: 12.59 MB / 1.367 GB, free: 7.59 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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: 12.841336025856435]