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.001414/0.001414, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.675/2.675, allocations: 437 MB / 0.7103 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 55.91 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.7219, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004356/0.7263, allocations: 2.737 MB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004407/0.7307, allocations: 2.791 MB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004085/0.7311, allocations: 7.938 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.7328, allocations: 494.1 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006631/0.7335, allocations: 258.4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.7346, allocations: 395 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.7365, allocations: 1.532 MB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.7368, allocations: 142.3 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009021/0.7377, allocations: 462.8 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.7384, allocations: 418.6 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.394e-05/0.7385, allocations: 48 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.7386, allocations: 52 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.7389, allocations: 263.2 kB / 1.027 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003555/0.7392, allocations: 370.2 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007333/0.74, allocations: 0.9073 MB / 1.028 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.74, allocations: 0 / 1.028 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.74, allocations: 0 / 1.028 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.74, allocations: 0 / 1.028 GB, free: 7.82 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.001853/0.7419, allocations: 1.144 MB / 1.029 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.7419, allocations: 8.031 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.742, allocations: 79.98 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/0.7429, allocations: 0.6564 MB / 1.03 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.7429, allocations: 24.94 kB / 1.03 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.743, allocations: 40.38 kB / 1.03 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.7436, allocations: 378.8 kB / 1.03 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.7436, allocations: 0 / 1.03 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.7436, allocations: 12 kB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.7436, allocations: 11.94 kB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.744, allocations: 233.5 kB / 1.03 GB, free: 5.133 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.003167/0.7472, allocations: 2.455 MB / 1.033 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009139/0.7481, allocations: 406.5 kB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.7483, allocations: 140.7 kB / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.7484, allocations: 0 / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.7484, allocations: 38.56 kB / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.7484, allocations: 0 / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009318/0.7494, allocations: 0.53 MB / 1.034 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.7494, allocations: 55.41 kB / 1.034 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.7504, allocations: 0.9337 MB / 1.035 GB, free: 336 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.7505, allocations: 37.7 kB / 1.035 GB, free: 292 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.7507, allocations: 304.4 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/0.7508, allocations: 67.09 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.7509, allocations: 122.2 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.7511, allocations: 386.6 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.7514, allocations: 240.9 kB / 1.036 GB, free: 15.17 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.7519, allocations: 0.4975 MB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.7527, allocations: 0.704 MB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.7527, allocations: 4 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001214/0.754, allocations: 0.8154 MB / 1.038 GB, free: 12.89 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.754, allocations: 9.719 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.754, allocations: 12 kB / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002271/0.7543, allocations: 52.81 kB / 1.038 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.7547, allocations: 135.8 kB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.7559, allocations: 1.546 MB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.7565, allocations: 123.2 kB / 1.04 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.7565, allocations: 28 kB / 1.04 GB, free: 10.85 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.000328/0.7569, allocations: 345.3 kB / 1.04 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.757, allocations: 67.09 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.7571, allocations: 66 kB / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.7571, allocations: 0 / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7571, allocations: 8.062 kB / 1.04 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7571, allocations: 3.984 kB / 1.04 GB, free: 10.35 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.7577, allocations: 0.5752 MB / 1.041 GB, free: 9.723 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7577, allocations: 0 / 1.041 GB, free: 9.723 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.758, allocations: 55.89 kB / 1.041 GB, free: 9.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.7581, allocations: 40.81 kB / 1.041 GB, free: 9.625 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.7581, allocations: 8 kB / 1.041 GB, free: 9.617 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.7591, allocations: 1.527 MB / 1.042 GB, free: 7.953 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7591, allocations: 7.922 kB / 1.042 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.7598, allocations: 0.5616 MB / 1.043 GB, free: 7.363 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002329/0.7601, allocations: 200.3 kB / 1.043 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.7601, allocations: 11.98 kB / 1.043 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.7605, allocations: 47.92 kB / 1.043 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.7606, allocations: 15.98 kB / 1.043 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.7606, allocations: 0 / 1.043 GB, free: 7.074 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007902/0.7614, allocations: 0.6629 MB / 1.044 GB, free: 6.418 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7614, allocations: 0 / 1.044 GB, free: 6.418 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005855/0.762, allocations: 183.8 kB / 1.044 GB, free: 6.238 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.0001255/0.7621, allocations: 111.2 kB / 1.044 GB, free: 6.117 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008603/0.763, allocations: 0.6036 MB / 1.045 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.763, allocations: 0 / 1.045 GB, free: 5.504 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.7633, allocations: 254.4 kB / 1.045 GB, free: 5.242 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.7641, allocations: 164.2 kB / 1.045 GB, free: 5.082 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.7661, allocations: 1.518 MB / 1.047 GB, free: 3.535 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.7666, allocations: 1.014 MB / 1.048 GB, free: 2.492 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003606/0.767, allocations: 180.5 kB / 1.048 GB, free: 2.316 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.7671, allocations: 43.38 kB / 1.048 GB, free: 2.277 MB / 0.795 GB Notification: Performance of SimCode: time 2.9e-07/0.7671, allocations: 0 / 1.048 GB, free: 2.277 MB / 0.795 GB Notification: Performance of Templates: time 0.01311/0.7802, allocations: 8.429 MB / 1.056 GB, free: 9.965 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=480 -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