Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001702/0.001702, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001972/0.001972, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437.1 MB / 0.7112 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 60.94 kB / 0.8707 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.005579/0.2814, allocations: 2.75 MB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005523/0.2869, allocations: 2.777 MB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.2873, allocations: 11.94 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.2891, allocations: 0.4941 MB / 1.025 GB, free: 3.746 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007146/0.2899, allocations: 250.9 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.2911, allocations: 400.2 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.2935, allocations: 1.528 MB / 1.027 GB, free: 1.582 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.2938, allocations: 142.3 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008456/0.2946, allocations: 478.7 kB / 1.027 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007459/0.2954, allocations: 386.6 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.2955, allocations: 44 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2957, allocations: 52 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.2961, allocations: 275.3 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005348/0.2966, allocations: 378.2 kB / 1.028 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.2978, allocations: 0.9073 MB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2978, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2978, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.2978, allocations: 0 / 1.029 GB, free: 14.95 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.002799/0.3006, allocations: 1.144 MB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3007, allocations: 8.031 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.3009, allocations: 84 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.3024, allocations: 0.6682 MB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.3024, allocations: 28.88 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.3025, allocations: 44.38 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.3033, allocations: 370.9 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.3033, allocations: 3.984 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.3034, allocations: 15.94 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.3034, allocations: 4 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.304, allocations: 241.5 kB / 1.032 GB, free: 12.24 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.004881/0.3088, allocations: 2.447 MB / 1.034 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.3103, allocations: 404.7 kB / 1.035 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.3106, allocations: 136.7 kB / 1.035 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3106, allocations: 4 kB / 1.035 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.3107, allocations: 34.56 kB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 2.615e-06/0.3107, allocations: 3.938 kB / 1.035 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.001349/0.312, allocations: 0.5366 MB / 1.035 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.3121, allocations: 55.41 kB / 1.035 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.3138, allocations: 0.9298 MB / 1.036 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/0.3139, allocations: 37.64 kB / 1.036 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.3142, allocations: 304.4 kB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.3143, allocations: 71.03 kB / 1.037 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.3146, allocations: 130.1 kB / 1.037 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.3148, allocations: 382.7 kB / 1.037 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.3153, allocations: 236.9 kB / 1.037 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000742/0.3161, allocations: 0.5014 MB / 1.038 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.3173, allocations: 0.6983 MB / 1.039 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.3173, allocations: 4 kB / 1.039 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001824/0.3191, allocations: 0.8155 MB / 1.039 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.3192, allocations: 8.812 kB / 1.039 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.3192, allocations: 12 kB / 1.039 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.3195, allocations: 52.83 kB / 1.039 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.3202, allocations: 139.7 kB / 1.04 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.3218, allocations: 1.551 MB / 1.041 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.3229, allocations: 119.2 kB / 1.041 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.665e-05/0.3229, allocations: 32 kB / 1.041 GB, free: 1.949 MB / 0.8106 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.0005341/0.3235, allocations: 338.2 kB / 1.042 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.3236, allocations: 67.09 kB / 1.042 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.3238, allocations: 70 kB / 1.042 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3238, allocations: 0 / 1.042 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3239, allocations: 4 kB / 1.042 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3239, allocations: 0 / 1.042 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008989/0.3248, allocations: 0.5791 MB / 1.042 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3248, allocations: 0 / 1.042 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/0.3252, allocations: 59.83 kB / 1.042 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.3254, allocations: 36.83 kB / 1.042 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.3254, allocations: 11.98 kB / 1.042 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.3269, allocations: 1.519 MB / 1.044 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3269, allocations: 0 / 1.044 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.328, allocations: 0.5656 MB / 1.044 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.3285, allocations: 200.4 kB / 1.045 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.3286, allocations: 8 kB / 1.045 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.3292, allocations: 43.86 kB / 1.045 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.3292, allocations: 19.89 kB / 1.045 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.3293, allocations: 3.984 kB / 1.045 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001226/0.3305, allocations: 0.6629 MB / 1.045 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3305, allocations: 0 / 1.045 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009679/0.3315, allocations: 187.7 kB / 1.045 GB, free: 13.35 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.0001546/0.3317, allocations: 111.2 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.3329, allocations: 0.5796 MB / 1.046 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.333, allocations: 0 / 1.046 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.3334, allocations: 252.1 kB / 1.046 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.3346, allocations: 176.4 kB / 1.047 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.3375, allocations: 1.51 MB / 1.048 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008212/0.3384, allocations: 1.014 MB / 1.049 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005829/0.339, allocations: 180.5 kB / 1.049 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3391, allocations: 39.44 kB / 1.049 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of SimCode: time 8.82e-07/0.3391, allocations: 0 / 1.049 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.02096/0.3601, allocations: 8.434 MB / 1.057 GB, free: 1.102 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches