Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.000991/0.0009909, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00775/0.00775, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.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.448/2.448, allocations: 390.9 MB / 0.6663 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003335, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/0.7033, allocations: 142.4 MB / 0.955 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.00275/0.7061, allocations: 2.422 MB / 0.9574 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003538/0.7097, allocations: 2.753 MB / 0.9601 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003421/0.71, allocations: 7.5 kB / 0.9601 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.7114, allocations: 465 kB / 0.9605 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005829/0.712, allocations: 237.4 kB / 0.9608 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008796/0.7129, allocations: 339 kB / 0.9611 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.7148, allocations: 1.724 MB / 0.9628 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.715, allocations: 119 kB / 0.9629 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008511/0.7159, allocations: 397.7 kB / 0.9633 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000831/0.7167, allocations: 397.9 kB / 0.9636 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.72e-05/0.7169, allocations: 22.72 kB / 0.9637 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.717, allocations: 28 kB / 0.9637 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.7172, allocations: 227.4 kB / 0.9639 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.7177, allocations: 350.2 kB / 0.9642 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007368/0.7184, allocations: 0.8685 MB / 0.9651 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7184, allocations: 0.9062 kB / 0.9651 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7184, allocations: 0 / 0.9651 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.7185, allocations: 0 / 0.9651 GB, free: 0.7891 MB / 0.7169 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.001787/0.7202, allocations: 1.025 MB / 0.9661 GB, free: 12 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.7203, allocations: 9.5 kB / 0.9661 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.7205, allocations: 82.19 kB / 0.9662 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009402/0.7214, allocations: 0.646 MB / 0.9668 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.7214, allocations: 36.23 kB / 0.9668 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.7215, allocations: 41.56 kB / 0.9669 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.7222, allocations: 382.3 kB / 0.9672 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.7222, allocations: 0 / 0.9672 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.7223, allocations: 11.06 kB / 0.9673 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.7223, allocations: 5.156 kB / 0.9673 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004649/0.7227, allocations: 239.9 kB / 0.9675 GB, free: 15.06 MB / 0.7325 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.003557/0.7263, allocations: 2.465 MB / 0.9699 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009961/0.7273, allocations: 413.4 kB / 0.9703 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.7276, allocations: 142.9 kB / 0.9704 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.7276, allocations: 2.219 kB / 0.9704 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.7276, allocations: 39.55 kB / 0.9705 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.7276, allocations: 1.031 kB / 0.9705 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001014/0.7287, allocations: 0.5391 MB / 0.971 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.7287, allocations: 57.41 kB / 0.971 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.73, allocations: 0.9427 MB / 0.972 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.73, allocations: 34.8 kB / 0.972 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.7303, allocations: 292.9 kB / 0.9723 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-05/0.7304, allocations: 72.91 kB / 0.9723 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.7305, allocations: 69.14 kB / 0.9724 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.7306, allocations: 383.6 kB / 0.9728 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.7311, allocations: 246.9 kB / 0.973 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.7317, allocations: 0.4977 MB / 0.9735 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/0.7325, allocations: 0.7019 MB / 0.9742 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.7326, allocations: 3.062 kB / 0.9742 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001274/0.7338, allocations: 0.822 MB / 0.975 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.7339, allocations: 10.16 kB / 0.975 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.7339, allocations: 11.22 kB / 0.975 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.7341, allocations: 51.8 kB / 0.9751 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.7346, allocations: 139 kB / 0.9752 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.7358, allocations: 1.44 MB / 0.9766 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007509/0.7365, allocations: 125.3 kB / 0.9767 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.7366, allocations: 27.25 kB / 0.9767 GB, free: 7.801 MB / 0.7325 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.0003856/0.737, allocations: 340.3 kB / 0.9771 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.7371, allocations: 62.56 kB / 0.9771 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.7372, allocations: 71.41 kB / 0.9772 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.7372, allocations: 6.031 kB / 0.9772 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7372, allocations: 0 / 0.9772 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7372, allocations: 4.984 kB / 0.9772 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006735/0.7379, allocations: 0.5746 MB / 0.9778 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.7379, allocations: 1.438 kB / 0.9778 GB, free: 7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.7382, allocations: 51.08 kB / 0.9778 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.7383, allocations: 47.62 kB / 0.9779 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.7383, allocations: 8.188 kB / 0.9779 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/0.7393, allocations: 1.418 MB / 0.9793 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.7394, allocations: 3.984 kB / 0.9793 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.7401, allocations: 0.5781 MB / 0.9798 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.7404, allocations: 200.3 kB / 0.98 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.7405, allocations: 7.984 kB / 0.98 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.7409, allocations: 51.83 kB / 0.9801 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.7409, allocations: 12.05 kB / 0.9801 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.7409, allocations: 12 kB / 0.9801 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00083/0.7418, allocations: 0.659 MB / 0.9807 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.7418, allocations: 4 kB / 0.9807 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006458/0.7424, allocations: 183.8 kB / 0.9809 GB, free: 3.766 MB / 0.7325 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.0001226/0.7426, allocations: 103.2 kB / 0.981 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008664/0.7434, allocations: 0.5797 MB / 0.9816 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7435, allocations: 0 / 0.9816 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/0.7438, allocations: 255.1 kB / 0.9818 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.7447, allocations: 168.3 kB / 0.982 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.7469, allocations: 1.806 MB / 0.9838 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/0.7475, allocations: 1.014 MB / 0.9847 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004155/0.7479, allocations: 180.5 kB / 0.9849 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.748, allocations: 39.44 kB / 0.985 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.748, allocations: 0 / 0.985 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.0149/0.7629, allocations: 7.972 MB / 0.9927 GB, free: 7.691 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches