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.001877/0.001877, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 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.001995/0.001995, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.091/3.091, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.8107 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.975e-05, allocations: 9.047 kB / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.005461/0.005491, allocations: 2.766 MB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005059/0.01055, allocations: 2.783 MB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.01082, allocations: 15.88 kB / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.01244, allocations: 488.4 kB / 0.8167 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007217/0.01317, allocations: 305.9 kB / 0.8169 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.01421, allocations: 424.5 kB / 0.8173 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002306/0.01652, allocations: 1.535 MB / 0.8188 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.01671, allocations: 71.52 kB / 0.8189 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.0177, allocations: 0.6004 MB / 0.8195 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007418/0.01844, allocations: 415.9 kB / 0.8199 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.01856, allocations: 48 kB / 0.8199 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.01874, allocations: 61.77 kB / 0.82 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003963/0.01914, allocations: 303.2 kB / 0.8203 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.01951, allocations: 247.5 kB / 0.8205 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.02062, allocations: 0.9114 MB / 0.8214 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.02063, allocations: 4 kB / 0.8214 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.02063, allocations: 1.344 kB / 0.8214 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.02064, allocations: 0 / 0.8214 GB, free: 7.234 MB / 0.7761 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.002466/0.0231, allocations: 1.265 MB / 0.8227 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.02314, allocations: 8.031 kB / 0.8227 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.02341, allocations: 104.4 kB / 0.8228 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.02463, allocations: 0.5905 MB / 0.8233 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.02467, allocations: 26.38 kB / 0.8234 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/0.02474, allocations: 40.38 kB / 0.8234 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005344/0.02528, allocations: 295.6 kB / 0.8237 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.02529, allocations: 192 / 0.8237 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.02532, allocations: 12.66 kB / 0.8237 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.02533, allocations: 8 kB / 0.8237 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.02565, allocations: 122.7 kB / 0.8238 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003406/0.02905, allocations: 1.956 MB / 0.8257 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009413/0.02999, allocations: 267.1 kB / 0.826 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.03016, allocations: 72.58 kB / 0.8261 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.03018, allocations: 4 kB / 0.8261 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.03021, allocations: 37.39 kB / 0.8261 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.03022, allocations: 1.031 kB / 0.8261 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0008303/0.03105, allocations: 296.8 kB / 0.8264 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.03109, allocations: 55.41 kB / 0.8264 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.03261, allocations: 1.043 MB / 0.8275 GB, free: 0.8555 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.03265, allocations: 33.7 kB / 0.8275 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.03309, allocations: 427.5 kB / 0.8279 GB, free: 404 kB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.0332, allocations: 76.53 kB / 0.828 GB, free: 328 kB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.03346, allocations: 175.9 kB / 0.8281 GB, free: 144 kB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004645/0.03392, allocations: 0.6212 MB / 0.8287 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.03415, allocations: 82.91 kB / 0.8288 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/0.03479, allocations: 0.5012 MB / 0.8293 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008597/0.03565, allocations: 0.6133 MB / 0.8299 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.03566, allocations: 0 / 0.8299 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001069/0.03673, allocations: 0.5458 MB / 0.8304 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.03675, allocations: 12 kB / 0.8305 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.03676, allocations: 8 kB / 0.8305 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00033/0.03709, allocations: 56.27 kB / 0.8305 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.0376, allocations: 143.7 kB / 0.8307 GB, free: 13.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.03947, allocations: 1.802 MB / 0.8324 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/0.04017, allocations: 123.5 kB / 0.8325 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.04021, allocations: 28.12 kB / 0.8326 GB, free: 11.12 MB / 0.7917 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.0003437/0.04056, allocations: 284.2 kB / 0.8328 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.04068, allocations: 75.56 kB / 0.8329 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.0408, allocations: 53.88 kB / 0.833 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.0408, allocations: 3.984 kB / 0.833 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.0408, allocations: 0 / 0.833 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.04081, allocations: 3.938 kB / 0.833 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008388/0.04165, allocations: 0.5471 MB / 0.8335 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.04165, allocations: 0 / 0.8335 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.04191, allocations: 51.91 kB / 0.8335 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.04213, allocations: 39.64 kB / 0.8336 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.04216, allocations: 11.98 kB / 0.8336 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.04366, allocations: 1.795 MB / 0.8353 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.04366, allocations: 0 / 0.8353 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.04434, allocations: 435 kB / 0.8358 GB, free: 7.641 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.04466, allocations: 115.5 kB / 0.8359 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.04474, allocations: 7.984 kB / 0.8359 GB, free: 7.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/0.04515, allocations: 43.92 kB / 0.8359 GB, free: 7.477 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.0452, allocations: 15.92 kB / 0.8359 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.04522, allocations: 4 kB / 0.8359 GB, free: 7.457 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0009442/0.04616, allocations: 0.6356 MB / 0.8366 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.04616, allocations: 4.062 kB / 0.8366 GB, free: 6.82 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006474/0.04681, allocations: 191.8 kB / 0.8367 GB, free: 6.633 MB / 0.7917 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.0001426/0.04695, allocations: 103.2 kB / 0.8368 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008506/0.0478, allocations: 478.5 kB / 0.8373 GB, free: 6.035 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.0478, allocations: 1.938 kB / 0.8373 GB, free: 6.035 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.04816, allocations: 255.2 kB / 0.8375 GB, free: 5.766 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008203/0.04898, allocations: 165.1 kB / 0.8377 GB, free: 5.605 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.05121, allocations: 1.212 MB / 0.8389 GB, free: 4.355 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.05165, allocations: 364.7 kB / 0.8392 GB, free: 3.973 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003633/0.05201, allocations: 144.5 kB / 0.8394 GB, free: 3.828 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.05213, allocations: 36.5 kB / 0.8394 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of SimCode: time 7.01e-07/0.05213, allocations: 0 / 0.8394 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of Templates: time 0.01766/0.0698, allocations: 8.761 MB / 0.848 GB, free: 11.24 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 240] 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: 8.433299938915297]