Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001038/0.001037, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001085/0.001085, allocations: 190.9 kB / 17.31 MB, free: 5.613 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: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.02 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2664, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004006/0.2704, allocations: 2.747 MB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003737/0.2742, allocations: 2.781 MB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.2744, allocations: 11.94 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.2756, allocations: 0.4941 MB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000433/0.276, allocations: 254.9 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000783/0.2768, allocations: 391 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.2783, allocations: 1.532 MB / 1.035 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.2785, allocations: 138.3 kB / 1.035 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006359/0.2791, allocations: 478.8 kB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.2798, allocations: 382.6 kB / 1.036 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.289e-05/0.2798, allocations: 48 kB / 1.036 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.2799, allocations: 48 kB / 1.036 GB, free: 8.797 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.2802, allocations: 279.2 kB / 1.036 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.2805, allocations: 374.1 kB / 1.036 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006664/0.2812, allocations: 0.9074 MB / 1.037 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2812, allocations: 0 / 1.037 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2812, allocations: 0 / 1.037 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.2812, allocations: 0 / 1.037 GB, free: 7.246 MB / 0.8106 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.001879/0.2831, allocations: 1.148 MB / 1.038 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2832, allocations: 8.031 kB / 1.038 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.2833, allocations: 83.94 kB / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.2843, allocations: 0.676 MB / 1.039 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.2843, allocations: 24.94 kB / 1.039 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.2844, allocations: 40.38 kB / 1.039 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.2849, allocations: 374.9 kB / 1.04 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2849, allocations: 7.875 kB / 1.04 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.285, allocations: 12 kB / 1.04 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.285, allocations: 4 kB / 1.04 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.2853, allocations: 233.5 kB / 1.04 GB, free: 4.535 MB / 0.8106 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.003328/0.2887, allocations: 2.447 MB / 1.042 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.2896, allocations: 410.4 kB / 1.043 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.2899, allocations: 140.7 kB / 1.043 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2899, allocations: 0 / 1.043 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2899, allocations: 42.88 kB / 1.043 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 9.92e-07/0.2899, allocations: 0 / 1.043 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0009022/0.2908, allocations: 0.5297 MB / 1.043 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.2909, allocations: 55.41 kB / 1.043 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2919, allocations: 0.9298 MB / 1.044 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.2919, allocations: 37.7 kB / 1.044 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.2922, allocations: 300.4 kB / 1.045 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.2923, allocations: 78.92 kB / 1.045 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.2924, allocations: 118.2 kB / 1.045 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2925, allocations: 382.7 kB / 1.045 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.2929, allocations: 240.9 kB / 1.045 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.2933, allocations: 0.4975 MB / 1.046 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007268/0.2941, allocations: 0.7009 MB / 1.047 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.2941, allocations: 4 kB / 1.047 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001075/0.2952, allocations: 0.8168 MB / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2952, allocations: 12 kB / 1.047 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.2952, allocations: 8 kB / 1.047 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.2954, allocations: 56.75 kB / 1.047 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.2958, allocations: 131.8 kB / 1.048 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.297, allocations: 1.542 MB / 1.049 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.2976, allocations: 127.3 kB / 1.049 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.2977, allocations: 28 kB / 1.049 GB, free: 10.25 MB / 0.8262 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.0003726/0.298, allocations: 337.5 kB / 1.049 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.2981, allocations: 63.19 kB / 1.05 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.2982, allocations: 73.94 kB / 1.05 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2983, allocations: 7.938 kB / 1.05 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2983, allocations: 0 / 1.05 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2983, allocations: 7.922 kB / 1.05 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.2989, allocations: 0.5791 MB / 1.05 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2989, allocations: 3.984 kB / 1.05 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.2991, allocations: 47.91 kB / 1.05 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.2993, allocations: 44.8 kB / 1.05 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.2993, allocations: 8 kB / 1.05 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009693/0.3003, allocations: 1.519 MB / 1.052 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3003, allocations: 0 / 1.052 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.301, allocations: 0.5753 MB / 1.052 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.3013, allocations: 200.3 kB / 1.053 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.415e-05/0.3013, allocations: 12.11 kB / 1.053 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.3017, allocations: 47.86 kB / 1.053 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.3018, allocations: 11.98 kB / 1.053 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3018, allocations: 12 kB / 1.053 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007516/0.3026, allocations: 0.659 MB / 1.053 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3026, allocations: 0 / 1.053 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005881/0.3032, allocations: 187.8 kB / 1.053 GB, free: 5.633 MB / 0.8262 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.0001308/0.3033, allocations: 108.1 kB / 1.054 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007879/0.3041, allocations: 0.5668 MB / 1.054 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3041, allocations: 0 / 1.054 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.3044, allocations: 254.6 kB / 1.054 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007321/0.3052, allocations: 172.1 kB / 1.055 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.307, allocations: 1.517 MB / 1.056 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.3076, allocations: 1.003 MB / 1.057 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.3079, allocations: 188.5 kB / 1.057 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.308, allocations: 39.38 kB / 1.057 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3081, allocations: 0 / 1.057 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.01391/0.322, allocations: 8.423 MB / 1.065 GB, free: 9.41 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches