Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.001824/0.001824, allocations: 83.73 kB / 19.76 MB, free: 2.02 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.001965/0.001965, allocations: 161.8 kB / 23 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.581/1.581, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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 2.831/2.831, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.ConductorSingleLayer,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.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,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.ConductorSingleLayer") [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.002371/0.002371, allocations: 67.91 kB / 0.9819 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173/1.175, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006061/1.181, allocations: 3.442 MB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005139/1.187, allocations: 2.416 MB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/1.187, allocations: 23.38 kB / 1.16 GB, free: 29.44 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/1.188, allocations: 236 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/1.19, allocations: 0.536 MB / 1.16 GB, free: 29.04 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/1.192, allocations: 0.5635 MB / 1.161 GB, free: 28.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002414/1.194, allocations: 1.384 MB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/1.195, allocations: 95.83 kB / 1.162 GB, free: 28.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/1.196, allocations: 459.2 kB / 1.163 GB, free: 27.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/1.197, allocations: 485.2 kB / 1.163 GB, free: 27.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003243/1.197, allocations: 53.53 kB / 1.163 GB, free: 27.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005371/1.198, allocations: 75.22 kB / 1.163 GB, free: 27.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007176/1.199, allocations: 370 kB / 1.164 GB, free: 27.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/1.2, allocations: 383 kB / 1.164 GB, free: 27.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/1.201, allocations: 0.944 MB / 1.165 GB, free: 27.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/1.201, allocations: 0 / 1.165 GB, free: 27.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.364e-06/1.201, allocations: 0 / 1.165 GB, free: 27.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.901e-05/1.201, allocations: 0 / 1.165 GB, free: 27.11 MB / 1.076 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.00443/1.206, allocations: 1.216 MB / 1.166 GB, free: 26.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.206, allocations: 8.375 kB / 1.166 GB, free: 26.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006051/1.207, allocations: 114.4 kB / 1.166 GB, free: 26.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/1.208, allocations: 0.6132 MB / 1.167 GB, free: 25.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/1.209, allocations: 41.75 kB / 1.167 GB, free: 25.86 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/1.209, allocations: 61.55 kB / 1.167 GB, free: 25.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009073/1.21, allocations: 403.4 kB / 1.167 GB, free: 25.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.21, allocations: 2.625 kB / 1.167 GB, free: 25.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/1.21, allocations: 10.62 kB / 1.167 GB, free: 25.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/1.21, allocations: 11.88 kB / 1.167 GB, free: 25.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/1.21, allocations: 227.1 kB / 1.168 GB, free: 25.54 MB / 1.076 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.003873/1.214, allocations: 1.805 MB / 1.169 GB, free: 24.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/1.216, allocations: 456.8 kB / 1.17 GB, free: 24.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/1.216, allocations: 154.8 kB / 1.17 GB, free: 24.12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/1.216, allocations: 5.359 kB / 1.17 GB, free: 24.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/1.216, allocations: 38.73 kB / 1.17 GB, free: 24.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 3.066e-06/1.216, allocations: 2.656 kB / 1.17 GB, free: 24.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.003256/1.219, allocations: 1.062 MB / 1.171 GB, free: 23.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/1.22, allocations: 59 kB / 1.171 GB, free: 23.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/1.222, allocations: 0.9242 MB / 1.172 GB, free: 23.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/1.222, allocations: 40.89 kB / 1.172 GB, free: 23.02 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/1.223, allocations: 374.9 kB / 1.172 GB, free: 22.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/1.223, allocations: 119 kB / 1.173 GB, free: 22.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/1.223, allocations: 167.4 kB / 1.173 GB, free: 22.55 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.223, allocations: 394.8 kB / 1.173 GB, free: 22.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/1.224, allocations: 227.8 kB / 1.173 GB, free: 22.15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008342/1.225, allocations: 0.6221 MB / 1.174 GB, free: 21.55 MB / 1.076 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/1.229, allocations: 1.617 MB / 1.175 GB, free: 20.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.952e-05/1.229, allocations: 3.844 kB / 1.175 GB, free: 20.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002374/1.231, allocations: 0.9036 MB / 1.176 GB, free: 20.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/1.231, allocations: 11 kB / 1.176 GB, free: 20.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.304e-05/1.231, allocations: 13.75 kB / 1.176 GB, free: 20.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002657/1.232, allocations: 48.52 kB / 1.176 GB, free: 20.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/1.233, allocations: 212.5 kB / 1.177 GB, free: 20.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/1.234, allocations: 1.33 MB / 1.178 GB, free: 18.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.235, allocations: 44.73 kB / 1.178 GB, free: 18.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/1.235, allocations: 43.28 kB / 1.178 GB, free: 18.97 MB / 1.076 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). 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 (97): * Single equations (assignments): 96 * 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.0005073/1.235, allocations: 301.8 kB / 1.178 GB, free: 18.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/1.236, allocations: 87.17 kB / 1.178 GB, free: 18.72 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/1.236, allocations: 76.08 kB / 1.178 GB, free: 18.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.236, allocations: 2.406 kB / 1.178 GB, free: 18.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.236, allocations: 9.922 kB / 1.178 GB, free: 18.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/1.236, allocations: 5.203 kB / 1.178 GB, free: 18.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/1.238, allocations: 0.9629 MB / 1.179 GB, free: 18.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.238, allocations: 5 kB / 1.179 GB, free: 18.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/1.238, allocations: 85.88 kB / 1.18 GB, free: 18.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/1.238, allocations: 36.3 kB / 1.18 GB, free: 18.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/1.239, allocations: 9.234 kB / 1.18 GB, free: 18.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008594/1.239, allocations: 1.314 MB / 1.181 GB, free: 16.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.239, allocations: 9.25 kB / 1.181 GB, free: 16.86 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/1.24, allocations: 0.6578 MB / 1.181 GB, free: 16.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/1.241, allocations: 129.3 kB / 1.182 GB, free: 16.42 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/1.241, allocations: 14.78 kB / 1.182 GB, free: 16.41 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005736/1.242, allocations: 24.05 kB / 1.182 GB, free: 16.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.472e-05/1.242, allocations: 27.55 kB / 1.182 GB, free: 16.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/1.242, allocations: 6.75 kB / 1.182 GB, free: 16.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001292/1.243, allocations: 0.6164 MB / 1.182 GB, free: 16.15 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.243, allocations: 0 / 1.182 GB, free: 16.15 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001746/1.245, allocations: 206.7 kB / 1.182 GB, free: 16.14 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0002294/1.245, allocations: 114.7 kB / 1.183 GB, free: 16.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002098/1.247, allocations: 0.6204 MB / 1.183 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.247, allocations: 0 / 1.183 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006166/1.248, allocations: 261.8 kB / 1.183 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/1.25, allocations: 163.8 kB / 1.184 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004639/1.254, allocations: 1.631 MB / 1.185 GB, free: 14.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009558/1.255, allocations: 389.8 kB / 1.186 GB, free: 14.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007947/1.256, allocations: 153.7 kB / 1.186 GB, free: 14.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/1.256, allocations: 54.12 kB / 1.186 GB, free: 14.43 MB / 1.076 GB Notification: Performance of SimCode: time 1.373e-06/1.256, allocations: 3.938 kB / 1.186 GB, free: 14.42 MB / 1.076 GB Notification: Performance of Templates: time 0.03255/1.289, allocations: 9.446 MB / 1.195 GB, free: 13.41 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.846125585027039]