Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, 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.001679/0.001679, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.623/2.623, allocations: 437 MB / 0.7103 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 55.91 kB / 0.8692 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.742/0.7436, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005136/0.7488, allocations: 3.724 MB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004099/0.7529, allocations: 2.506 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.7535, allocations: 15.88 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008414/0.7543, allocations: 246.4 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.7556, allocations: 0.4977 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.757, allocations: 0.53 MB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.7585, allocations: 1.367 MB / 1.026 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.7588, allocations: 149.1 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005935/0.7594, allocations: 438.5 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00062/0.76, allocations: 490.2 kB / 1.027 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.7602, allocations: 56 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.7603, allocations: 60 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.7607, allocations: 347 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.7611, allocations: 457.6 kB / 1.028 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007688/0.7618, allocations: 0.8952 MB / 1.029 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.7619, allocations: 8 kB / 1.029 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7619, allocations: 0 / 1.029 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.7619, allocations: 0 / 1.029 GB, free: 6.887 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002058/0.764, allocations: 1.245 MB / 1.03 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.764, allocations: 19.98 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.7642, allocations: 99.72 kB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009048/0.7651, allocations: 0.6365 MB / 1.031 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.7651, allocations: 37.03 kB / 1.031 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/0.7652, allocations: 68.2 kB / 1.031 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.7658, allocations: 402.9 kB / 1.031 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.7658, allocations: 0 / 1.031 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.7658, allocations: 19.98 kB / 1.031 GB, free: 4.242 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.7658, allocations: 8 kB / 1.031 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.7662, allocations: 222.4 kB / 1.031 GB, free: 4.016 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.002779/0.769, allocations: 2.51 MB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.7703, allocations: 484.2 kB / 1.034 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.7705, allocations: 161.2 kB / 1.034 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.7706, allocations: 4.234 kB / 1.034 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.7706, allocations: 34.8 kB / 1.034 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 2.775e-06/0.7706, allocations: 3.984 kB / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001951/0.7726, allocations: 1.205 MB / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.7726, allocations: 55.39 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.7737, allocations: 0.9269 MB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.7737, allocations: 37.7 kB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.774, allocations: 368.7 kB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.7741, allocations: 110.4 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.7743, allocations: 170.6 kB / 1.037 GB, free: 13.65 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.7745, allocations: 394.7 kB / 1.038 GB, free: 13.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.7749, allocations: 229.8 kB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.7755, allocations: 0.6231 MB / 1.038 GB, free: 12.21 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/0.7783, allocations: 1.759 MB / 1.04 GB, free: 10.23 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.7784, allocations: 7.938 kB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001378/0.7797, allocations: 0.9035 MB / 1.041 GB, free: 9.309 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.7798, allocations: 8 kB / 1.041 GB, free: 9.301 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.7798, allocations: 16 kB / 1.041 GB, free: 9.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.78, allocations: 49.14 kB / 1.041 GB, free: 9.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.7807, allocations: 211.6 kB / 1.041 GB, free: 9.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.7818, allocations: 1.46 MB / 1.043 GB, free: 7.426 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/0.7825, allocations: 43.97 kB / 1.043 GB, free: 7.383 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.7825, allocations: 44 kB / 1.043 GB, free: 7.34 MB / 0.795 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * 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.0003365/0.7829, allocations: 303.2 kB / 1.043 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.783, allocations: 78.97 kB / 1.043 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.7831, allocations: 80.45 kB / 1.043 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.7831, allocations: 4 kB / 1.043 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.7831, allocations: 0 / 1.043 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7831, allocations: 0 / 1.043 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.7847, allocations: 1.148 MB / 1.044 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7847, allocations: 0 / 1.044 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.7851, allocations: 79.88 kB / 1.045 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.7852, allocations: 32.97 kB / 1.045 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.7852, allocations: 11.98 kB / 1.045 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009165/0.7861, allocations: 1.437 MB / 1.046 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7861, allocations: 0 / 1.046 GB, free: 3.953 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008431/0.787, allocations: 0.671 MB / 1.047 GB, free: 3.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.7872, allocations: 200.1 kB / 1.047 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.7873, allocations: 12 kB / 1.047 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.7878, allocations: 15.98 kB / 1.047 GB, free: 3.008 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.7878, allocations: 27.91 kB / 1.047 GB, free: 2.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.7878, allocations: 8 kB / 1.047 GB, free: 2.973 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007622/0.7886, allocations: 0.62 MB / 1.047 GB, free: 2.355 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.7886, allocations: 0 / 1.047 GB, free: 2.355 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006862/0.7893, allocations: 208 kB / 1.048 GB, free: 2.152 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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.0001295/0.7894, allocations: 111.1 kB / 1.048 GB, free: 2.035 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.7906, allocations: 0.6726 MB / 1.048 GB, free: 1.352 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7906, allocations: 4 kB / 1.048 GB, free: 1.348 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.791, allocations: 270.2 kB / 1.049 GB, free: 1.074 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.7918, allocations: 180.2 kB / 1.049 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.794, allocations: 1.624 MB / 1.05 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.7945, allocations: 0.9876 MB / 1.051 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004035/0.7949, allocations: 157.8 kB / 1.052 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.795, allocations: 51.44 kB / 1.052 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.795, allocations: 0 / 1.052 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of Templates: time 0.01669/0.8117, allocations: 8.983 MB / 1.06 GB, free: 5.137 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches