Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007359/0.0007359, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.00179, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007225/0.0007225, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009282/0.001651, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9269/0.9269, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08206/1.009, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.378/2.378, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2259/2.604, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.764e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003896/0.003914, allocations: 2.83 MB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004481/0.008395, allocations: 2.83 MB / 0.8244 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.008605, allocations: 11.94 kB / 0.8244 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.009932, allocations: 0.4902 MB / 0.8249 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.01056, allocations: 314.6 kB / 0.8252 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.01147, allocations: 386.7 kB / 0.8256 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.01319, allocations: 1.497 MB / 0.827 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.01337, allocations: 70.41 kB / 0.8271 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.01448, allocations: 0.7868 MB / 0.8279 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006242/0.0151, allocations: 403.1 kB / 0.8283 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.01521, allocations: 48 kB / 0.8283 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.01539, allocations: 63.94 kB / 0.8284 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000285/0.01567, allocations: 267.4 kB / 0.8286 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.01594, allocations: 199.6 kB / 0.8288 GB, free: 8.301 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007182/0.01665, allocations: 0.5918 MB / 0.8294 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.01666, allocations: 4 kB / 0.8294 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01667, allocations: 0 / 0.8294 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.594e-05/0.01669, allocations: 0 / 0.8294 GB, free: 7.703 MB / 0.8073 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.001866/0.01856, allocations: 1.063 MB / 0.8304 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.0186, allocations: 12.03 kB / 0.8305 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000294/0.01889, allocations: 154 kB / 0.8306 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.02001, allocations: 455 kB / 0.831 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.02004, allocations: 28.88 kB / 0.8311 GB, free: 5.934 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-05/0.02012, allocations: 40.33 kB / 0.8311 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.0205, allocations: 225.5 kB / 0.8313 GB, free: 5.645 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.02052, allocations: 8.109 kB / 0.8313 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.02054, allocations: 12.12 kB / 0.8313 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.02056, allocations: 12 kB / 0.8313 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.0207, allocations: 74.23 kB / 0.8314 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.02184, allocations: 1.107 MB / 0.8325 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.02225, allocations: 274.8 kB / 0.8328 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.0223, allocations: 42.23 kB / 0.8328 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.0223, allocations: 0 / 0.8328 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.02232, allocations: 34.56 kB / 0.8328 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.462e-06/0.02233, allocations: 4 kB / 0.8328 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0003162/0.02264, allocations: 179.5 kB / 0.833 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.02267, allocations: 59.39 kB / 0.8331 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.02304, allocations: 0.5545 MB / 0.8336 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.02306, allocations: 33.7 kB / 0.8336 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.02316, allocations: 230 kB / 0.8339 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.02321, allocations: 79.36 kB / 0.8339 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/0.02329, allocations: 106.3 kB / 0.834 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.02339, allocations: 382.6 kB / 0.8344 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.02346, allocations: 72.11 kB / 0.8345 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.02363, allocations: 306.5 kB / 0.8348 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.02393, allocations: 443.5 kB / 0.8352 GB, free: 1.297 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.02393, allocations: 4 kB / 0.8352 GB, free: 1.293 MB / 0.8073 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003837/0.02432, allocations: 375.9 kB / 0.8355 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.02433, allocations: 8 kB / 0.8356 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.02434, allocations: 8 kB / 0.8356 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.02449, allocations: 47.66 kB / 0.8356 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.02481, allocations: 164.1 kB / 0.8358 GB, free: 0.6875 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006682/0.02548, allocations: 1.211 MB / 0.8369 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.02574, allocations: 71.44 kB / 0.837 GB, free: 15.31 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.02576, allocations: 24.12 kB / 0.837 GB, free: 15.29 MB / 0.823 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.0001125/0.02587, allocations: 148.4 kB / 0.8372 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.02592, allocations: 39.95 kB / 0.8372 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.02598, allocations: 57.86 kB / 0.8373 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.02598, allocations: 0 / 0.8373 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.02598, allocations: 7.938 kB / 0.8373 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02598, allocations: 0 / 0.8373 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.02626, allocations: 265.5 kB / 0.8375 GB, free: 14.74 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02626, allocations: 0 / 0.8375 GB, free: 14.74 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.02643, allocations: 73.75 kB / 0.8376 GB, free: 14.67 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.02654, allocations: 83.48 kB / 0.8377 GB, free: 14.59 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.812e-05/0.02663, allocations: 23.67 kB / 0.8377 GB, free: 14.56 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.02665, allocations: 11.98 kB / 0.8377 GB, free: 14.55 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000584/0.02723, allocations: 1.253 MB / 0.8389 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.02724, allocations: 0 / 0.8389 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.02749, allocations: 332.3 kB / 0.8393 GB, free: 12.85 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.02753, allocations: 11.98 kB / 0.8393 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.02767, allocations: 4 kB / 0.8393 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.02771, allocations: 15.97 kB / 0.8393 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.02771, allocations: 0 / 0.8393 GB, free: 12.82 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002317/0.02794, allocations: 272.7 kB / 0.8395 GB, free: 12.56 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02794, allocations: 4 kB / 0.8396 GB, free: 12.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003451/0.02829, allocations: 179.9 kB / 0.8397 GB, free: 12.38 MB / 0.823 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 9.116e-05/0.02838, allocations: 88.36 kB / 0.8398 GB, free: 12.29 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003348/0.02872, allocations: 327.6 kB / 0.8401 GB, free: 11.96 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.02873, allocations: 8 kB / 0.8401 GB, free: 11.95 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.02886, allocations: 178.5 kB / 0.8403 GB, free: 11.76 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008079/0.02967, allocations: 1.505 MB / 0.8418 GB, free: 9.961 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.03353, allocations: 1.065 MB / 0.8428 GB, free: 8.859 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.03364, allocations: 181.2 kB / 0.843 GB, free: 8.66 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.0338, allocations: 68.69 kB / 0.843 GB, free: 8.594 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.03407, allocations: 185.3 kB / 0.8432 GB, free: 8.414 MB / 0.823 GB Notification: Performance of SimCode: time 8.12e-07/0.03407, allocations: 0 / 0.8432 GB, free: 8.414 MB / 0.823 GB Notification: Performance of Templates: time 0.01188/0.04595, allocations: 10.35 MB / 0.8533 GB, free: 14.28 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.341798898763955]