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.002303/0.002303, allocations: 113 kB / 16.46 MB, free: 6.453 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.003038/0.003038, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.264/3.264, allocations: 0.4899 GB / 0.7916 GB, free: 33.42 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.00214/0.00214, allocations: 75.42 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3986, allocations: 176.1 MB / 1.321 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004536/0.4031, allocations: 2.766 MB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005624/0.4088, allocations: 2.866 MB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.4094, allocations: 11.88 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.4115, allocations: 0.4902 MB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009599/0.4125, allocations: 266.8 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.414, allocations: 394.3 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002304/0.4163, allocations: 1.532 MB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.4165, allocations: 104.1 kB / 1.329 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008523/0.4174, allocations: 482.8 kB / 1.33 GB, free: 9.965 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008614/0.4182, allocations: 410.5 kB / 1.33 GB, free: 9.562 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.4183, allocations: 48 kB / 1.33 GB, free: 9.516 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.4186, allocations: 56 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.419, allocations: 283.2 kB / 1.331 GB, free: 9.184 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000542/0.4195, allocations: 378.2 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.4209, allocations: 0.9263 MB / 1.332 GB, free: 7.883 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4209, allocations: 3.938 kB / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4209, allocations: 0 / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.421, allocations: 4 kB / 1.332 GB, free: 7.875 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.002594/0.4235, allocations: 1.177 MB / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.4236, allocations: 11.98 kB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.4239, allocations: 80.47 kB / 1.333 GB, free: 6.559 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.4252, allocations: 0.6804 MB / 1.334 GB, free: 5.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.4252, allocations: 28.94 kB / 1.334 GB, free: 5.812 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.4253, allocations: 40.33 kB / 1.334 GB, free: 5.773 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.4261, allocations: 382.8 kB / 1.334 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4261, allocations: 0 / 1.334 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.4262, allocations: 8 kB / 1.334 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4262, allocations: 11.94 kB / 1.334 GB, free: 5.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.4266, allocations: 233.5 kB / 1.334 GB, free: 5.121 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.004046/0.4307, allocations: 2.459 MB / 1.337 GB, free: 2.473 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.4317, allocations: 382.5 kB / 1.337 GB, free: 2.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.4319, allocations: 132.7 kB / 1.337 GB, free: 1.957 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.4319, allocations: 4 kB / 1.337 GB, free: 1.953 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.432, allocations: 38.5 kB / 1.337 GB, free: 1.906 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.432, allocations: 0 / 1.337 GB, free: 1.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001099/0.4331, allocations: 0.5325 MB / 1.338 GB, free: 1.348 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.4331, allocations: 51.41 kB / 1.338 GB, free: 1.285 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.4345, allocations: 0.9493 MB / 1.339 GB, free: 332 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.4345, allocations: 37.7 kB / 1.339 GB, free: 288 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.4349, allocations: 300.9 kB / 1.339 GB, free: 15.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.491e-05/0.435, allocations: 71.39 kB / 1.339 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.4351, allocations: 130.1 kB / 1.339 GB, free: 15.78 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.4354, allocations: 378.7 kB / 1.34 GB, free: 15.4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.4357, allocations: 240.9 kB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/0.4364, allocations: 0.5051 MB / 1.341 GB, free: 14.53 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009637/0.4373, allocations: 0.7003 MB / 1.341 GB, free: 13.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.4373, allocations: 4 kB / 1.341 GB, free: 13.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001278/0.4386, allocations: 0.818 MB / 1.342 GB, free: 12.87 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.4386, allocations: 12 kB / 1.342 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.4386, allocations: 8 kB / 1.342 GB, free: 12.85 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002357/0.4389, allocations: 52.83 kB / 1.342 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.4393, allocations: 143.9 kB / 1.342 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.4408, allocations: 1.535 MB / 1.344 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/0.4416, allocations: 131.3 kB / 1.344 GB, free: 10.85 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.4416, allocations: 24 kB / 1.344 GB, free: 10.83 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.0004278/0.442, allocations: 341.4 kB / 1.344 GB, free: 10.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.4422, allocations: 67.52 kB / 1.344 GB, free: 10.42 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.4423, allocations: 66 kB / 1.344 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4423, allocations: 4 kB / 1.344 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4423, allocations: 4.062 kB / 1.344 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4423, allocations: 0 / 1.344 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.4431, allocations: 0.5831 MB / 1.345 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4431, allocations: 3.938 kB / 1.345 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.4433, allocations: 55.83 kB / 1.345 GB, free: 9.641 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.4434, allocations: 44.81 kB / 1.345 GB, free: 9.594 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.4435, allocations: 4 kB / 1.345 GB, free: 9.59 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.4448, allocations: 1.535 MB / 1.346 GB, free: 7.918 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4448, allocations: 3.938 kB / 1.346 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.4456, allocations: 0.5721 MB / 1.347 GB, free: 7.328 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.4459, allocations: 204.6 kB / 1.347 GB, free: 7.109 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.446, allocations: 11.98 kB / 1.347 GB, free: 7.098 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/0.4464, allocations: 51.86 kB / 1.347 GB, free: 7.047 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.4464, allocations: 15.98 kB / 1.347 GB, free: 7.031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.4465, allocations: 4 kB / 1.347 GB, free: 7.027 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009048/0.4474, allocations: 0.6668 MB / 1.348 GB, free: 6.363 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4474, allocations: 0 / 1.348 GB, free: 6.363 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006559/0.448, allocations: 179.9 kB / 1.348 GB, free: 6.188 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.0001432/0.4482, allocations: 111.2 kB / 1.348 GB, free: 6.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000974/0.4491, allocations: 0.565 MB / 1.349 GB, free: 5.496 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4491, allocations: 0 / 1.349 GB, free: 5.496 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.4495, allocations: 242.5 kB / 1.349 GB, free: 5.246 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008239/0.4503, allocations: 163 kB / 1.349 GB, free: 5.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.4528, allocations: 1.535 MB / 1.351 GB, free: 3.523 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/0.4535, allocations: 1.006 MB / 1.352 GB, free: 2.488 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004572/0.454, allocations: 180.5 kB / 1.352 GB, free: 2.309 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.4541, allocations: 39.44 kB / 1.352 GB, free: 2.27 MB / 1.045 GB Notification: Performance of SimCode: time 7.31e-07/0.4541, allocations: 0 / 1.352 GB, free: 2.27 MB / 1.045 GB Notification: Performance of Templates: time 0.01737/0.4715, allocations: 8.683 MB / 1.36 GB, free: 9.703 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/jenkins/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: 9.295671757310629]