Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001338/0.001338, 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.001512/0.001512, allocations: 209.6 kB / 22.25 MB, free: 4.848 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.812 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.417/3.417, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 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.ConductorMultiLayer3,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.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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.ConductorMultiLayer3") [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.002148/0.002148, allocations: 66.61 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4125, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004457/0.417, allocations: 2.591 MB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004579/0.4215, allocations: 2.613 MB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.4218, allocations: 7.938 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.4234, allocations: 482.1 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006474/0.4241, allocations: 306.7 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.4251, allocations: 421.6 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.4271, allocations: 1.567 MB / 1.333 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.4273, allocations: 78.41 kB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007472/0.428, allocations: 482.8 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/0.4287, allocations: 438.5 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.4288, allocations: 44 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.429, allocations: 63.98 kB / 1.334 GB, free: 8.789 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.4294, allocations: 295.1 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.4297, allocations: 298.6 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.4309, allocations: 0.9341 MB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.431, allocations: 4 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.431, allocations: 4 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.431, allocations: 0 / 1.336 GB, free: 7.262 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.002353/0.4333, allocations: 1.103 MB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.4334, allocations: 8.031 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.4336, allocations: 84.45 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.4349, allocations: 0.6265 MB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.4349, allocations: 24.88 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.136e-05/0.435, allocations: 52.27 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.4357, allocations: 370.1 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4357, allocations: 7.984 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.4357, allocations: 8 kB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.4357, allocations: 8 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.4362, allocations: 241.5 kB / 1.338 GB, free: 4.668 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.003662/0.4398, allocations: 1.745 MB / 1.34 GB, free: 2.867 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.4409, allocations: 386.5 kB / 1.34 GB, free: 2.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.4411, allocations: 128.8 kB / 1.34 GB, free: 2.352 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.4411, allocations: 4 kB / 1.34 GB, free: 2.348 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.4412, allocations: 38.5 kB / 1.341 GB, free: 2.301 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.804e-06/0.4412, allocations: 0 / 1.341 GB, free: 2.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.00105/0.4422, allocations: 471.6 kB / 1.341 GB, free: 1.832 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.4423, allocations: 59.34 kB / 1.341 GB, free: 1.762 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.4437, allocations: 0.9298 MB / 1.342 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.4437, allocations: 37.7 kB / 1.342 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.4441, allocations: 308.7 kB / 1.342 GB, free: 484 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/0.4441, allocations: 67.38 kB / 1.342 GB, free: 416 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.4444, allocations: 126.3 kB / 1.342 GB, free: 284 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002622/0.4446, allocations: 386.7 kB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.445, allocations: 241.1 kB / 1.343 GB, free: 15.66 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.4457, allocations: 0.4943 MB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4467, allocations: 0.7089 MB / 1.344 GB, free: 14.2 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.4467, allocations: 3.938 kB / 1.344 GB, free: 14.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001385/0.4481, allocations: 0.8196 MB / 1.345 GB, free: 13.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4481, allocations: 8 kB / 1.345 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.4482, allocations: 11.98 kB / 1.345 GB, free: 13.34 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002508/0.4484, allocations: 48.83 kB / 1.345 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.4489, allocations: 143.7 kB / 1.345 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.4505, allocations: 1.42 MB / 1.347 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.4512, allocations: 127.4 kB / 1.347 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.4512, allocations: 27.98 kB / 1.347 GB, free: 11.48 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.0004472/0.4517, allocations: 334 kB / 1.347 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.4518, allocations: 67.56 kB / 1.347 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.4519, allocations: 69.97 kB / 1.347 GB, free: 11 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4519, allocations: 7.984 kB / 1.347 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4519, allocations: 0 / 1.347 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4519, allocations: 0 / 1.347 GB, free: 10.99 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006242/0.4525, allocations: 436.8 kB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4525, allocations: 0 / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.4528, allocations: 51.91 kB / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001305/0.4529, allocations: 40.81 kB / 1.348 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.453, allocations: 12 kB / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.4542, allocations: 1.393 MB / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4542, allocations: 0 / 1.349 GB, free: 8.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.455, allocations: 0.5712 MB / 1.35 GB, free: 8.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.4553, allocations: 127.5 kB / 1.35 GB, free: 8.215 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.4554, allocations: 16.27 kB / 1.35 GB, free: 8.199 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.4558, allocations: 51.92 kB / 1.35 GB, free: 8.148 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.4559, allocations: 11.97 kB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.4559, allocations: 8 kB / 1.35 GB, free: 8.129 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009426/0.4568, allocations: 0.6512 MB / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4568, allocations: 0 / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006948/0.4575, allocations: 183.9 kB / 1.351 GB, free: 7.301 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.000151/0.4577, allocations: 107.2 kB / 1.351 GB, free: 7.188 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.4587, allocations: 0.5761 MB / 1.351 GB, free: 6.602 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4587, allocations: 0 / 1.351 GB, free: 6.602 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.4591, allocations: 246.5 kB / 1.352 GB, free: 6.348 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.4599, allocations: 156.6 kB / 1.352 GB, free: 6.199 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.4623, allocations: 1.543 MB / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.4628, allocations: 416.7 kB / 1.354 GB, free: 4.195 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004035/0.4632, allocations: 180.5 kB / 1.354 GB, free: 4.016 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.4633, allocations: 35.44 kB / 1.354 GB, free: 3.98 MB / 1.045 GB Notification: Performance of SimCode: time 9.12e-07/0.4633, allocations: 0 / 1.354 GB, free: 3.98 MB / 1.045 GB Notification: Performance of Templates: time 0.0185/0.4818, allocations: 9.662 MB / 1.363 GB, free: 10.52 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.667144130915403]