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.001466/0.001466, allocations: 100.1 kB / 15.88 MB, free: 12 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.001653/0.001653, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.06 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2853, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004015/0.2893, allocations: 2.794 MB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0037/0.2931, allocations: 2.796 MB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.2934, allocations: 7.938 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.2947, allocations: 478.2 kB / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005337/0.2953, allocations: 246 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.2961, allocations: 331.3 kB / 1.059 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.2979, allocations: 1.716 MB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.2981, allocations: 121.6 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.2988, allocations: 410.8 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.2994, allocations: 402.5 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.532e-05/0.2995, allocations: 24 kB / 1.062 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.2996, allocations: 32 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.2998, allocations: 223.3 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003773/0.3002, allocations: 338.2 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000584/0.3008, allocations: 0.7407 MB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3008, allocations: 0 / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.41e-07/0.3008, allocations: 0 / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.908e-05/0.3008, allocations: 3.938 kB / 1.063 GB, free: 13.68 MB / 0.8262 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.002041/0.3029, allocations: 1.146 MB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3029, allocations: 11.97 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.3031, allocations: 80 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009306/0.304, allocations: 0.6486 MB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.3041, allocations: 32.94 kB / 1.065 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.089e-05/0.3041, allocations: 36.38 kB / 1.065 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/0.3047, allocations: 374.8 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3047, allocations: 0 / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.3047, allocations: 12 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3047, allocations: 8 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.3051, allocations: 233.5 kB / 1.066 GB, free: 11 MB / 0.8262 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.003437/0.3086, allocations: 2.455 MB / 1.068 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009736/0.3096, allocations: 406.4 kB / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.3098, allocations: 144.7 kB / 1.069 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.3098, allocations: 0 / 1.069 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3098, allocations: 34.56 kB / 1.069 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.3098, allocations: 4 kB / 1.069 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009173/0.3108, allocations: 0.5363 MB / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.3108, allocations: 55.41 kB / 1.069 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.3119, allocations: 0.9298 MB / 1.07 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.312, allocations: 33.7 kB / 1.07 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.3122, allocations: 304.4 kB / 1.07 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.419e-05/0.3123, allocations: 67.09 kB / 1.07 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.3125, allocations: 122.2 kB / 1.071 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3126, allocations: 386.7 kB / 1.071 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.313, allocations: 240.9 kB / 1.071 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.3135, allocations: 0.5014 MB / 1.072 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007861/0.3143, allocations: 0.694 MB / 1.072 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3143, allocations: 4 kB / 1.072 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00116/0.3155, allocations: 0.8134 MB / 1.073 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3155, allocations: 11.94 kB / 1.073 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.3155, allocations: 12 kB / 1.073 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001998/0.3157, allocations: 57.34 kB / 1.073 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004467/0.3162, allocations: 139.8 kB / 1.073 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.3173, allocations: 1.436 MB / 1.075 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006299/0.318, allocations: 123.3 kB / 1.075 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.318, allocations: 28 kB / 1.075 GB, free: 0.8203 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.0003494/0.3184, allocations: 341.4 kB / 1.075 GB, free: 488 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.3185, allocations: 63.16 kB / 1.075 GB, free: 424 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3186, allocations: 77.97 kB / 1.075 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3186, allocations: 3.938 kB / 1.075 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3186, allocations: 4 kB / 1.075 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3186, allocations: 0 / 1.075 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.3192, allocations: 0.583 MB / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3193, allocations: 0 / 1.076 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.3195, allocations: 43.95 kB / 1.076 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/0.3196, allocations: 44.83 kB / 1.076 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.3197, allocations: 8 kB / 1.076 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.3207, allocations: 1.424 MB / 1.077 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3207, allocations: 0 / 1.077 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.3214, allocations: 0.5696 MB / 1.078 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.3217, allocations: 196.4 kB / 1.078 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.259e-05/0.3218, allocations: 8.125 kB / 1.078 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.3222, allocations: 63.83 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.3223, allocations: 7.984 kB / 1.078 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3223, allocations: 8 kB / 1.078 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008105/0.3231, allocations: 0.6629 MB / 1.079 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3231, allocations: 0 / 1.079 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006111/0.3237, allocations: 179.8 kB / 1.079 GB, free: 12.32 MB / 0.8419 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.0001497/0.3239, allocations: 107.2 kB / 1.079 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009009/0.3248, allocations: 0.5783 MB / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3248, allocations: 0 / 1.08 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.3251, allocations: 238.5 kB / 1.08 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.326, allocations: 163 kB / 1.08 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3283, allocations: 1.743 MB / 1.082 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.3289, allocations: 0.999 MB / 1.083 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3291, allocations: 35.44 kB / 1.083 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.3291, allocations: 0 / 1.083 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of Templates: time 0.01546/0.3445, allocations: 12.25 MB / 1.095 GB, free: 12.16 MB / 0.8575 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 -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