Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 109.4 kB / 15.99 MB, free: 6.344 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.001879/0.00188, allocations: 196.2 kB / 16.91 MB, free: 6.176 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.401/1.401, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.233/2.233, allocations: 390.2 MB / 0.665 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 61.47 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.261, allocations: 140.4 MB / 0.9498 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003889/0.2649, allocations: 2.769 MB / 0.9525 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003716/0.2687, allocations: 2.758 MB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.2689, allocations: 4 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.2702, allocations: 478.2 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004664/0.2707, allocations: 243.1 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.2715, allocations: 363.2 kB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.273, allocations: 1.559 MB / 0.9577 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.2733, allocations: 130.3 kB / 0.9578 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.2739, allocations: 490.7 kB / 0.9583 GB, free: 380 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.2744, allocations: 438.6 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.395e-05/0.2745, allocations: 52 kB / 0.9588 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.2746, allocations: 52 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.2748, allocations: 263.3 kB / 0.9591 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.2752, allocations: 382.1 kB / 0.9594 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.2758, allocations: 0.7407 MB / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2758, allocations: 0 / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2758, allocations: 0 / 0.9602 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.2758, allocations: 0 / 0.9602 GB, free: 14.46 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.001868/0.2777, allocations: 1.152 MB / 0.9613 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2777, allocations: 16.03 kB / 0.9613 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.2778, allocations: 79.98 kB / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.2788, allocations: 0.637 MB / 0.962 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.2788, allocations: 28.94 kB / 0.962 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.262e-05/0.2789, allocations: 48.3 kB / 0.9621 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.2796, allocations: 378.8 kB / 0.9624 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.2796, allocations: 0 / 0.9624 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.2796, allocations: 12 kB / 0.9624 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2796, allocations: 4 kB / 0.9625 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.2801, allocations: 241.5 kB / 0.9627 GB, free: 11.77 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.003544/0.2836, allocations: 2.462 MB / 0.9651 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.2846, allocations: 394.5 kB / 0.9655 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.2848, allocations: 140.7 kB / 0.9656 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2848, allocations: 4 kB / 0.9656 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2849, allocations: 34.55 kB / 0.9656 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.2849, allocations: 4 kB / 0.9656 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0008893/0.2858, allocations: 0.5284 MB / 0.9662 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.2858, allocations: 59.34 kB / 0.9662 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.2869, allocations: 0.9298 MB / 0.9671 GB, free: 6.965 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.2869, allocations: 37.7 kB / 0.9672 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.2871, allocations: 304.4 kB / 0.9674 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.2872, allocations: 71.03 kB / 0.9675 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2874, allocations: 126.1 kB / 0.9676 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2875, allocations: 382.7 kB / 0.968 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.2878, allocations: 240.9 kB / 0.9682 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.2883, allocations: 0.4975 MB / 0.9687 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/0.2891, allocations: 0.6965 MB / 0.9694 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2891, allocations: 8 kB / 0.9694 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001122/0.2902, allocations: 0.8061 MB / 0.9702 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.2902, allocations: 16.16 kB / 0.9702 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.2903, allocations: 11.98 kB / 0.9702 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001941/0.2905, allocations: 52.83 kB / 0.9703 GB, free: 3.445 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.2909, allocations: 143.7 kB / 0.9704 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.2921, allocations: 1.538 MB / 0.9719 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.2927, allocations: 127.4 kB / 0.972 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.2928, allocations: 28 kB / 0.9721 GB, free: 1.477 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.000341/0.2931, allocations: 339.4 kB / 0.9724 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/0.2932, allocations: 67.03 kB / 0.9724 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.2933, allocations: 70 kB / 0.9725 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2933, allocations: 0 / 0.9725 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2933, allocations: 4 kB / 0.9725 GB, free: 0.9883 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2934, allocations: 7.984 kB / 0.9725 GB, free: 0.9805 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.294, allocations: 0.5752 MB / 0.9731 GB, free: 364 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.294, allocations: 4 kB / 0.9731 GB, free: 360 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.2942, allocations: 55.83 kB / 0.9731 GB, free: 304 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.2944, allocations: 40.81 kB / 0.9732 GB, free: 260 kB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.2944, allocations: 8 kB / 0.9732 GB, free: 252 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.2954, allocations: 1.531 MB / 0.9747 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2954, allocations: 3.984 kB / 0.9747 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.2961, allocations: 0.563 MB / 0.9752 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.2964, allocations: 196.3 kB / 0.9754 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.2965, allocations: 11.98 kB / 0.9754 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.2969, allocations: 59.77 kB / 0.9755 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.2969, allocations: 15.98 kB / 0.9755 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.297, allocations: 4 kB / 0.9755 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007741/0.2977, allocations: 0.6629 MB / 0.9762 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2977, allocations: 0 / 0.9762 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.000616/0.2984, allocations: 179.8 kB / 0.9763 GB, free: 12.86 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.0001289/0.2985, allocations: 107.2 kB / 0.9764 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008836/0.2994, allocations: 0.6016 MB / 0.977 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2994, allocations: 0 / 0.977 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.2997, allocations: 253.2 kB / 0.9773 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.3005, allocations: 170.5 kB / 0.9774 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.3027, allocations: 1.738 MB / 0.9791 GB, free: 9.938 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.3032, allocations: 0.9987 MB / 0.9801 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3034, allocations: 35.44 kB / 0.9801 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of SimCode: time 4.71e-07/0.3034, allocations: 0 / 0.9801 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of Templates: time 0.01542/0.3188, allocations: 12.26 MB / 0.9921 GB, free: 12.65 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches