Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 198.8 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 62.84 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2593, allocations: 140.4 MB / 0.9497 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004332/0.2637, allocations: 2.793 MB / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.2682, allocations: 2.754 MB / 0.9552 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.2687, allocations: 7.938 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.2704, allocations: 470.3 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007684/0.2712, allocations: 247 kB / 0.9559 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.2723, allocations: 363 kB / 0.9562 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.2744, allocations: 1.559 MB / 0.9577 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.2747, allocations: 130.3 kB / 0.9579 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009541/0.2757, allocations: 490.7 kB / 0.9583 GB, free: 496 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008213/0.2765, allocations: 434.6 kB / 0.9587 GB, free: 60 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.2767, allocations: 48 kB / 0.9588 GB, free: 12 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.2769, allocations: 59.98 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.2772, allocations: 275.2 kB / 0.9591 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000573/0.2778, allocations: 370.2 kB / 0.9595 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008128/0.2786, allocations: 0.7407 MB / 0.9602 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.2786, allocations: 0 / 0.9602 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2786, allocations: 3.938 kB / 0.9602 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.68e-05/0.2787, allocations: 0 / 0.9602 GB, free: 14.57 MB / 0.7481 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.002426/0.2811, allocations: 1.152 MB / 0.9613 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.2812, allocations: 8.031 kB / 0.9613 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.2814, allocations: 76 kB / 0.9614 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2824, allocations: 0.6526 MB / 0.962 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.2824, allocations: 24.94 kB / 0.962 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.2825, allocations: 44.38 kB / 0.9621 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.2831, allocations: 378.8 kB / 0.9624 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2831, allocations: 0 / 0.9624 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.2831, allocations: 15.94 kB / 0.9625 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2831, allocations: 4 kB / 0.9625 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.2836, allocations: 245.4 kB / 0.9627 GB, free: 11.87 MB / 0.7481 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.00381/0.2874, allocations: 2.451 MB / 0.9651 GB, free: 9.234 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009865/0.2884, allocations: 398.5 kB / 0.9655 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.2886, allocations: 144.7 kB / 0.9656 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2886, allocations: 0 / 0.9656 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2887, allocations: 34.5 kB / 0.9656 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.2887, allocations: 0 / 0.9656 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001027/0.2897, allocations: 0.54 MB / 0.9662 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.2898, allocations: 51.41 kB / 0.9662 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.291, allocations: 0.9376 MB / 0.9671 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.2911, allocations: 33.7 kB / 0.9672 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.2913, allocations: 296.4 kB / 0.9675 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.2914, allocations: 71.03 kB / 0.9675 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2916, allocations: 134.1 kB / 0.9676 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.2918, allocations: 382.6 kB / 0.968 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.2922, allocations: 236.9 kB / 0.9682 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.2927, allocations: 0.5014 MB / 0.9687 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008123/0.2936, allocations: 0.6967 MB / 0.9694 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.2936, allocations: 0 / 0.9694 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001245/0.2948, allocations: 0.8153 MB / 0.9702 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2949, allocations: 8 kB / 0.9702 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2949, allocations: 8.781 kB / 0.9702 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.2951, allocations: 56.83 kB / 0.9703 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.2956, allocations: 143.7 kB / 0.9704 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.2969, allocations: 1.538 MB / 0.9719 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00073/0.2976, allocations: 123.2 kB / 0.972 GB, free: 1.625 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.444e-05/0.2977, allocations: 32.03 kB / 0.9721 GB, free: 1.594 MB / 0.7481 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.0003797/0.2981, allocations: 341.5 kB / 0.9724 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.2982, allocations: 67.09 kB / 0.9725 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.2983, allocations: 66 kB / 0.9725 GB, free: 1.109 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2984, allocations: 7.938 kB / 0.9725 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2984, allocations: 0 / 0.9725 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2984, allocations: 0 / 0.9725 GB, free: 1.102 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/0.2991, allocations: 0.5868 MB / 0.9731 GB, free: 476 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2991, allocations: 0 / 0.9731 GB, free: 476 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.2993, allocations: 59.83 kB / 0.9732 GB, free: 416 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.2995, allocations: 40.83 kB / 0.9732 GB, free: 372 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.2995, allocations: 7.984 kB / 0.9732 GB, free: 364 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.3008, allocations: 1.519 MB / 0.9747 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3008, allocations: 0 / 0.9747 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.3016, allocations: 0.5657 MB / 0.9752 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.3019, allocations: 196.4 kB / 0.9754 GB, free: 13.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.302, allocations: 8 kB / 0.9754 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.3024, allocations: 63.69 kB / 0.9755 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.3025, allocations: 12.05 kB / 0.9755 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3025, allocations: 12 kB / 0.9755 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009116/0.3035, allocations: 0.6629 MB / 0.9762 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3035, allocations: 0 / 0.9762 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006761/0.3041, allocations: 179.8 kB / 0.9763 GB, free: 12.98 MB / 0.7637 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.0001434/0.3043, allocations: 103.2 kB / 0.9764 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.3053, allocations: 0.6122 MB / 0.977 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3053, allocations: 0 / 0.977 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.3057, allocations: 250.6 kB / 0.9773 GB, free: 11.99 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008562/0.3065, allocations: 168.6 kB / 0.9774 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.309, allocations: 1.734 MB / 0.9791 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.3097, allocations: 1.003 MB / 0.9801 GB, free: 9.023 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.3098, allocations: 39.44 kB / 0.9801 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of SimCode: time 2.61e-07/0.3098, allocations: 0 / 0.9801 GB, free: 8.984 MB / 0.7637 GB Notification: Performance of Templates: time 0.01731/0.3272, allocations: 12.26 MB / 0.9921 GB, free: 12.76 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches