Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001687/0.001687, 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.001779/0.001779, allocations: 214.4 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.253/3.253, allocations: 0.4892 GB / 0.7951 GB, free: 35.73 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.ConductorMultiLayer2,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.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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.ConductorMultiLayer2") [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.002127/0.002127, allocations: 67.23 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3921, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004582/0.3966, allocations: 2.593 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004566/0.4012, allocations: 2.613 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.4014, allocations: 7.938 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.4029, allocations: 490 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.4035, allocations: 303.8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.4046, allocations: 416.1 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001836/0.4064, allocations: 1.567 MB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.4066, allocations: 78.34 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006975/0.4073, allocations: 478.9 kB / 1.335 GB, free: 9.301 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006667/0.408, allocations: 442.5 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.4081, allocations: 48 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.4083, allocations: 60 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004299/0.4087, allocations: 291.2 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.4092, allocations: 302.6 kB / 1.336 GB, free: 8.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.4103, allocations: 0.9341 MB / 1.337 GB, free: 7.242 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4103, allocations: 7.922 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4103, allocations: 4 kB / 1.337 GB, free: 7.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.4103, allocations: 0 / 1.337 GB, free: 7.23 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.002221/0.4125, allocations: 1.104 MB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4125, allocations: 8.031 kB / 1.338 GB, free: 6.086 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.4128, allocations: 84.47 kB / 1.338 GB, free: 6.004 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.414, allocations: 0.6266 MB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.4141, allocations: 24.88 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.4142, allocations: 48.33 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.4148, allocations: 374 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4148, allocations: 0 / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.4148, allocations: 8 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4148, allocations: 8 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.4152, allocations: 241.4 kB / 1.339 GB, free: 4.645 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.003357/0.4186, allocations: 1.749 MB / 1.341 GB, free: 2.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009848/0.4196, allocations: 386.5 kB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.4199, allocations: 132.7 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.4199, allocations: 0 / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4199, allocations: 42.5 kB / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.4199, allocations: 0 / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0009544/0.4209, allocations: 466.1 kB / 1.342 GB, free: 1.805 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.4209, allocations: 59.34 kB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4222, allocations: 0.9337 MB / 1.343 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.4222, allocations: 37.7 kB / 1.343 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.4225, allocations: 308.7 kB / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.116e-05/0.4226, allocations: 71.36 kB / 1.343 GB, free: 380 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.4228, allocations: 126.3 kB / 1.343 GB, free: 248 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.423, allocations: 382.8 kB / 1.344 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.4233, allocations: 237.1 kB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/0.424, allocations: 0.5021 MB / 1.344 GB, free: 15 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/0.4249, allocations: 0.701 MB / 1.345 GB, free: 14.17 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4249, allocations: 7.938 kB / 1.345 GB, free: 14.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001251/0.4262, allocations: 0.8159 MB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4262, allocations: 13.72 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.4262, allocations: 8 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002096/0.4264, allocations: 48.83 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/0.4269, allocations: 143.7 kB / 1.346 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.4282, allocations: 1.416 MB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/0.4289, allocations: 123.4 kB / 1.347 GB, free: 11.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.429, allocations: 31.94 kB / 1.348 GB, free: 11.45 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.0003907/0.4294, allocations: 339.5 kB / 1.348 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4295, allocations: 63.58 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.4296, allocations: 69.8 kB / 1.348 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4296, allocations: 4 kB / 1.348 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4296, allocations: 96 / 1.348 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.4296, allocations: 11.98 kB / 1.348 GB, free: 10.96 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.4302, allocations: 428.9 kB / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4302, allocations: 3.984 kB / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.4304, allocations: 51.91 kB / 1.348 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001202/0.4305, allocations: 44.75 kB / 1.348 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.4306, allocations: 8 kB / 1.349 GB, free: 10.4 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.4319, allocations: 1.4 MB / 1.35 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4319, allocations: 0 / 1.35 GB, free: 8.895 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009408/0.4328, allocations: 0.5698 MB / 1.35 GB, free: 8.305 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.4331, allocations: 131.5 kB / 1.351 GB, free: 8.176 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.4332, allocations: 7.984 kB / 1.351 GB, free: 8.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.4336, allocations: 47.92 kB / 1.351 GB, free: 8.121 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.4337, allocations: 12.14 kB / 1.351 GB, free: 8.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.4337, allocations: 11.98 kB / 1.351 GB, free: 8.098 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008935/0.4346, allocations: 0.6512 MB / 1.351 GB, free: 7.449 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4346, allocations: 0 / 1.351 GB, free: 7.449 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006224/0.4352, allocations: 187.8 kB / 1.351 GB, free: 7.266 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.0001366/0.4353, allocations: 103.2 kB / 1.352 GB, free: 7.156 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009415/0.4363, allocations: 0.5677 MB / 1.352 GB, free: 6.578 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4363, allocations: 0.875 kB / 1.352 GB, free: 6.578 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.4367, allocations: 250.5 kB / 1.352 GB, free: 6.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.4375, allocations: 162.3 kB / 1.352 GB, free: 6.168 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.44, allocations: 1.574 MB / 1.354 GB, free: 4.559 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/0.4405, allocations: 408.8 kB / 1.354 GB, free: 4.133 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.4406, allocations: 39.42 kB / 1.354 GB, free: 4.094 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4406, allocations: 0 / 1.354 GB, free: 4.094 MB / 1.045 GB Notification: Performance of Templates: time 0.01814/0.4588, allocations: 12.59 MB / 1.367 GB, free: 7.539 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.845226970035583]