Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ConductorMultiLayer3,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_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001432/0.001432, allocations: 196 kB / 16.14 MB, free: 6.711 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.511/1.511, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.909/2.909, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002115, allocations: 67.91 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.703, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.005151/0.7082, allocations: 2.784 MB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00504/0.7133, allocations: 2.799 MB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003731/0.7137, allocations: 11.94 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.7154, allocations: 462.3 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007048/0.7162, allocations: 251 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009581/0.7172, allocations: 334.9 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002118/0.7193, allocations: 1.715 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003018/0.7196, allocations: 121.7 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007014/0.7203, allocations: 402.8 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.7209, allocations: 398.5 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.408e-05/0.721, allocations: 28 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.7211, allocations: 28 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.7214, allocations: 223.3 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003865/0.7218, allocations: 334.2 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008668/0.7227, allocations: 0.8878 MB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.7227, allocations: 0 / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.01e-07/0.7227, allocations: 0 / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.7227, allocations: 4 kB / 1.027 GB, free: 7.969 MB / 0.7794 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.002283/0.725, allocations: 1.136 MB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.7251, allocations: 16.03 kB / 1.028 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.7252, allocations: 76 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.7263, allocations: 0.6564 MB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.7263, allocations: 24.94 kB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.7264, allocations: 40.38 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.727, allocations: 374.9 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.7271, allocations: 3.938 kB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.7271, allocations: 12 kB / 1.029 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.7271, allocations: 4 kB / 1.029 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.7275, allocations: 241.5 kB / 1.03 GB, free: 5.285 MB / 0.7794 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.004243/0.7318, allocations: 2.455 MB / 1.032 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.7329, allocations: 398.4 kB / 1.032 GB, free: 2.242 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.7332, allocations: 142.9 kB / 1.033 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.7332, allocations: 4 kB / 1.033 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.7332, allocations: 30.56 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 3.317e-06/0.7333, allocations: 4 kB / 1.033 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001142/0.7344, allocations: 0.5339 MB / 1.033 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.7345, allocations: 55.41 kB / 1.033 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.7358, allocations: 0.9337 MB / 1.034 GB, free: 496 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.7359, allocations: 41.64 kB / 1.034 GB, free: 448 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.7362, allocations: 304.4 kB / 1.034 GB, free: 140 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.7363, allocations: 71.08 kB / 1.034 GB, free: 68 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.7365, allocations: 126.1 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.7367, allocations: 386.7 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.7371, allocations: 236.9 kB / 1.035 GB, free: 15.32 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.7377, allocations: 0.4975 MB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009416/0.7387, allocations: 0.7003 MB / 1.036 GB, free: 13.86 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7387, allocations: 8 kB / 1.036 GB, free: 13.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001344/0.74, allocations: 0.8077 MB / 1.037 GB, free: 13.04 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.7401, allocations: 12.16 kB / 1.037 GB, free: 13.03 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.7401, allocations: 11.98 kB / 1.037 GB, free: 13.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.7403, allocations: 56.77 kB / 1.037 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004962/0.7408, allocations: 139.8 kB / 1.037 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.7423, allocations: 1.44 MB / 1.039 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/0.7431, allocations: 131.2 kB / 1.039 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/0.7431, allocations: 24 kB / 1.039 GB, free: 11.1 MB / 0.795 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.0005251/0.7437, allocations: 337.6 kB / 1.039 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.7438, allocations: 67.16 kB / 1.039 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.7439, allocations: 66 kB / 1.039 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.7439, allocations: 7.938 kB / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7439, allocations: 0 / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.744, allocations: 3.938 kB / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/0.7447, allocations: 0.5791 MB / 1.04 GB, free: 9.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7448, allocations: 0 / 1.04 GB, free: 9.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.745, allocations: 55.95 kB / 1.04 GB, free: 9.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/0.7452, allocations: 36.83 kB / 1.04 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.7452, allocations: 11.98 kB / 1.04 GB, free: 9.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.7465, allocations: 1.416 MB / 1.041 GB, free: 8.324 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7465, allocations: 0 / 1.041 GB, free: 8.324 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.7474, allocations: 0.568 MB / 1.042 GB, free: 7.738 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.7476, allocations: 208.4 kB / 1.042 GB, free: 7.516 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.7477, allocations: 8 kB / 1.042 GB, free: 7.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.7481, allocations: 47.83 kB / 1.042 GB, free: 7.461 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.7482, allocations: 19.91 kB / 1.042 GB, free: 7.441 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.7482, allocations: 4.125 kB / 1.042 GB, free: 7.438 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009883/0.7492, allocations: 0.6629 MB / 1.043 GB, free: 6.781 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7492, allocations: 0 / 1.043 GB, free: 6.781 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007515/0.75, allocations: 183.8 kB / 1.043 GB, free: 6.602 MB / 0.795 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.0001935/0.7502, allocations: 107.8 kB / 1.043 GB, free: 6.484 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.7513, allocations: 0.5658 MB / 1.044 GB, free: 5.906 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.7514, allocations: 4 kB / 1.044 GB, free: 5.902 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.7517, allocations: 248.1 kB / 1.044 GB, free: 5.648 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.7527, allocations: 172.6 kB / 1.044 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.7557, allocations: 1.692 MB / 1.046 GB, free: 3.762 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008496/0.7566, allocations: 1.018 MB / 1.047 GB, free: 2.715 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004961/0.7571, allocations: 180.5 kB / 1.047 GB, free: 2.539 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.7573, allocations: 35.44 kB / 1.047 GB, free: 2.508 MB / 0.795 GB Notification: Performance of SimCode: time 7.21e-07/0.7573, allocations: 3.938 kB / 1.047 GB, free: 2.504 MB / 0.795 GB Notification: Performance of Templates: time 0.01926/0.7765, allocations: 8.091 MB / 1.055 GB, free: 10.52 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches