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.0007948/0.0007948, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001206/0.002001, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007819/0.0007819, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001816, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.989/0.989, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08978/1.079, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.487/2.487, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3049/2.792, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.252e-06/1.252e-06, allocations: 0 / 0.8183 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.151e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.002885/0.002896, allocations: 2.825 MB / 0.821 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.00604, allocations: 2.819 MB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.006215, allocations: 15.88 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.007168, allocations: 0.4941 MB / 0.8243 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.007608, allocations: 318.5 kB / 0.8246 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.008182, allocations: 386.8 kB / 0.825 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.009338, allocations: 1.493 MB / 0.8264 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.009495, allocations: 74.39 kB / 0.8265 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007454/0.01024, allocations: 0.7867 MB / 0.8273 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/0.01066, allocations: 411.1 kB / 0.8276 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.01071, allocations: 48 kB / 0.8277 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.01084, allocations: 67.92 kB / 0.8278 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.01103, allocations: 267.3 kB / 0.828 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.01121, allocations: 195.6 kB / 0.8282 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005289/0.01174, allocations: 0.5763 MB / 0.8288 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.688e-05/0.01176, allocations: 0 / 0.8288 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.22e-07/0.01176, allocations: 0 / 0.8288 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.942e-05/0.01179, allocations: 0 / 0.8288 GB, free: 8.133 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.001538/0.01333, allocations: 1.074 MB / 0.8298 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.01336, allocations: 12.03 kB / 0.8298 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.01355, allocations: 154 kB / 0.83 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.01402, allocations: 451 kB / 0.8304 GB, free: 6.383 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.01404, allocations: 32.88 kB / 0.8304 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.01409, allocations: 40.33 kB / 0.8305 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.01435, allocations: 229.5 kB / 0.8307 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.01436, allocations: 192 / 0.8307 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.01438, allocations: 12.12 kB / 0.8307 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.01439, allocations: 8 kB / 0.8307 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.415e-05/0.01449, allocations: 70.23 kB / 0.8308 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.01553, allocations: 1.107 MB / 0.8319 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.01596, allocations: 286.8 kB / 0.8321 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.787e-05/0.01601, allocations: 32.84 kB / 0.8322 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.01602, allocations: 0 / 0.8322 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.01605, allocations: 38.56 kB / 0.8322 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.133e-06/0.01605, allocations: 0 / 0.8322 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.000365/0.01641, allocations: 181.4 kB / 0.8324 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.01644, allocations: 59.41 kB / 0.8324 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.01684, allocations: 0.5584 MB / 0.833 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.01687, allocations: 33.7 kB / 0.833 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.01698, allocations: 230 kB / 0.8332 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.01703, allocations: 75.36 kB / 0.8333 GB, free: 3.285 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.501e-05/0.01712, allocations: 114.3 kB / 0.8334 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.01724, allocations: 374.6 kB / 0.8338 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.01732, allocations: 60.12 kB / 0.8338 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.0175, allocations: 326.4 kB / 0.8341 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.0178, allocations: 443.9 kB / 0.8346 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.0178, allocations: 4 kB / 0.8346 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0003868/0.01819, allocations: 368.2 kB / 0.8349 GB, free: 1.348 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.01821, allocations: 14.53 kB / 0.8349 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.01823, allocations: 12 kB / 0.8349 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.0184, allocations: 47.64 kB / 0.835 GB, free: 1.273 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.01874, allocations: 159.7 kB / 0.8351 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.01978, allocations: 1.209 MB / 0.8363 GB, free: 15.81 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.02002, allocations: 67.45 kB / 0.8364 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.02005, allocations: 24 kB / 0.8364 GB, free: 15.72 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.0001223/0.02017, allocations: 152.4 kB / 0.8365 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.02022, allocations: 36.08 kB / 0.8366 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.02028, allocations: 61.86 kB / 0.8366 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.02028, allocations: 4 kB / 0.8366 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.02028, allocations: 0 / 0.8366 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.02029, allocations: 0 / 0.8366 GB, free: 15.46 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.02054, allocations: 265.5 kB / 0.8369 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02054, allocations: 0 / 0.8369 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.02071, allocations: 77.5 kB / 0.837 GB, free: 15.11 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.02082, allocations: 87.47 kB / 0.837 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.02092, allocations: 31.66 kB / 0.8371 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.02094, allocations: 8 kB / 0.8371 GB, free: 14.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005999/0.02154, allocations: 1.25 MB / 0.8383 GB, free: 13.63 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02154, allocations: 4.031 kB / 0.8383 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.0218, allocations: 320.5 kB / 0.8386 GB, free: 13.29 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.02184, allocations: 7.984 kB / 0.8386 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.02197, allocations: 8 kB / 0.8386 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.02201, allocations: 15.91 kB / 0.8386 GB, free: 13.26 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.02202, allocations: 4 kB / 0.8387 GB, free: 13.25 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002205/0.02224, allocations: 272.5 kB / 0.8389 GB, free: 12.99 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.02224, allocations: 0 / 0.8389 GB, free: 12.99 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003409/0.02258, allocations: 175.9 kB / 0.8391 GB, free: 12.82 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 0.0001023/0.02268, allocations: 88.42 kB / 0.8392 GB, free: 12.73 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003466/0.02303, allocations: 322.6 kB / 0.8395 GB, free: 12.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.02304, allocations: 4 kB / 0.8395 GB, free: 12.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.02316, allocations: 173 kB / 0.8396 GB, free: 12.21 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.02361, allocations: 218.7 kB / 0.8398 GB, free: 12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.02766, allocations: 1.056 MB / 0.8409 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.02778, allocations: 181.1 kB / 0.8411 GB, free: 10.71 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.02793, allocations: 68.64 kB / 0.8411 GB, free: 10.64 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.02819, allocations: 173.3 kB / 0.8413 GB, free: 10.48 MB / 0.823 GB Notification: Performance of SimCode: time 9.82e-07/0.02819, allocations: 0 / 0.8413 GB, free: 10.48 MB / 0.823 GB Notification: Performance of Templates: time 0.01225/0.04044, allocations: 10.14 MB / 0.8512 GB, free: 0.5391 MB / 0.823 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.664638981223106]