Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001363/0.001363, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00136/0.00136, allocations: 188.9 kB / 16.25 MB, free: 6.625 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.537/1.537, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.913/2.913, allocations: 469.8 MB / 0.742 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 70.64 kB / 0.908 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2928, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004086/0.297, allocations: 2.784 MB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003915/0.3009, allocations: 2.759 MB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.3011, allocations: 7.938 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.3025, allocations: 462.3 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005275/0.303, allocations: 243 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009569/0.304, allocations: 372.3 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.3058, allocations: 1.553 MB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.3061, allocations: 138.3 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006792/0.3068, allocations: 494.7 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.3074, allocations: 434.6 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.804e-05/0.3074, allocations: 51.94 kB / 1.072 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3076, allocations: 52 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.3078, allocations: 259.3 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.3082, allocations: 382.1 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.3091, allocations: 0.8996 MB / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3091, allocations: 0 / 1.074 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3091, allocations: 4 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.3091, allocations: 0 / 1.074 GB, free: 3.734 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.002147/0.3113, allocations: 1.148 MB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3113, allocations: 8.031 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.3115, allocations: 76 kB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009753/0.3125, allocations: 0.6525 MB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.3125, allocations: 24.94 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.3126, allocations: 44.38 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/0.3132, allocations: 374.9 kB / 1.076 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3132, allocations: 3.938 kB / 1.076 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3133, allocations: 8 kB / 1.076 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3133, allocations: 4 kB / 1.076 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/0.3137, allocations: 241.5 kB / 1.077 GB, free: 1.051 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.003608/0.3173, allocations: 2.455 MB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.3183, allocations: 398.5 kB / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.3186, allocations: 149 kB / 1.079 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3186, allocations: 0 / 1.079 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.3186, allocations: 34.47 kB / 1.079 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.3186, allocations: 0 / 1.079 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0009845/0.3196, allocations: 0.5352 MB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3197, allocations: 55.41 kB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3208, allocations: 0.9453 MB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.3209, allocations: 33.7 kB / 1.081 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/0.3212, allocations: 292.5 kB / 1.081 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.621e-05/0.3212, allocations: 78.92 kB / 1.081 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.3214, allocations: 122.2 kB / 1.081 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.3216, allocations: 378.7 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.322, allocations: 244.9 kB / 1.082 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.3226, allocations: 0.5052 MB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/0.3235, allocations: 0.6931 MB / 1.083 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3236, allocations: 0 / 1.083 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001311/0.3249, allocations: 0.8175 MB / 1.084 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3249, allocations: 8 kB / 1.084 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3249, allocations: 8 kB / 1.084 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002401/0.3252, allocations: 56.81 kB / 1.084 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.3257, allocations: 144.1 kB / 1.084 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.3272, allocations: 1.538 MB / 1.086 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/0.3279, allocations: 127.2 kB / 1.086 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.328, allocations: 32 kB / 1.086 GB, free: 6.746 MB / 0.8419 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.0004148/0.3284, allocations: 341.5 kB / 1.086 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3285, allocations: 67.17 kB / 1.086 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.3286, allocations: 66 kB / 1.086 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3286, allocations: 4 kB / 1.086 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3287, allocations: 0 / 1.086 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3287, allocations: 0 / 1.086 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007156/0.3294, allocations: 0.583 MB / 1.087 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3294, allocations: 3.938 kB / 1.087 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.3297, allocations: 47.91 kB / 1.087 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/0.3298, allocations: 48.81 kB / 1.087 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.3298, allocations: 4 kB / 1.087 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.3312, allocations: 1.523 MB / 1.089 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3312, allocations: 0 / 1.089 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.332, allocations: 0.5729 MB / 1.089 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.3323, allocations: 196.3 kB / 1.089 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-05/0.3324, allocations: 11.98 kB / 1.089 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.3328, allocations: 55.8 kB / 1.089 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.3329, allocations: 7.984 kB / 1.089 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3329, allocations: 7.938 kB / 1.089 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0009024/0.3338, allocations: 0.6629 MB / 1.09 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3338, allocations: 0 / 1.09 GB, free: 2.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006535/0.3345, allocations: 183.8 kB / 1.09 GB, free: 2.141 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.0001577/0.3347, allocations: 109.1 kB / 1.09 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.3357, allocations: 0.6019 MB / 1.091 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3357, allocations: 0 / 1.091 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.3361, allocations: 242.5 kB / 1.091 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.3369, allocations: 170.9 kB / 1.091 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3393, allocations: 1.707 MB / 1.093 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/0.34, allocations: 1.006 MB / 1.094 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000451/0.3404, allocations: 184.5 kB / 1.094 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.3405, allocations: 35.44 kB / 1.094 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of SimCode: time 6.51e-07/0.3406, allocations: 0 / 1.094 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of Templates: time 0.01693/0.3575, allocations: 8.391 MB / 1.102 GB, free: 5.738 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches