Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.00121/0.00121, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.009985/0.009985, allocations: 171.7 kB / 16.26 MB, free: 6.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.547/1.547, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.815/2.815, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003597, allocations: 10.11 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3667, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.00387/0.3706, allocations: 3.365 MB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00422/0.3749, allocations: 2.511 MB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.3754, allocations: 11.94 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008265/0.3763, allocations: 222.8 kB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.3774, allocations: 481 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.3788, allocations: 471.1 kB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.3806, allocations: 1.613 MB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.3809, allocations: 124.8 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007556/0.3817, allocations: 386.4 kB / 1.068 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008763/0.3826, allocations: 490.2 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.361e-05/0.3827, allocations: 32 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.3828, allocations: 36 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.3831, allocations: 311 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003956/0.3835, allocations: 451.3 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.3843, allocations: 0.8637 MB / 1.07 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3843, allocations: 3.938 kB / 1.07 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3843, allocations: 0 / 1.07 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3843, allocations: 0 / 1.07 GB, free: 10.18 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001978/0.3863, allocations: 1.117 MB / 1.071 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3864, allocations: 12.03 kB / 1.071 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.3865, allocations: 107.7 kB / 1.071 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/0.3875, allocations: 0.6365 MB / 1.072 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.3875, allocations: 45.03 kB / 1.072 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/0.3876, allocations: 60.31 kB / 1.072 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.3883, allocations: 406.9 kB / 1.072 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3883, allocations: 4 kB / 1.072 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.3883, allocations: 16 kB / 1.072 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3883, allocations: 8 kB / 1.072 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.3887, allocations: 222.4 kB / 1.072 GB, free: 7.43 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.002952/0.3917, allocations: 2.533 MB / 1.075 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.393, allocations: 488.6 kB / 1.075 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.3932, allocations: 153.9 kB / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3933, allocations: 4.234 kB / 1.075 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3933, allocations: 38.73 kB / 1.075 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.3933, allocations: 4 kB / 1.075 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.002034/0.3953, allocations: 1.213 MB / 1.077 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.3954, allocations: 63.39 kB / 1.077 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.3967, allocations: 0.9115 MB / 1.078 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.3968, allocations: 41.7 kB / 1.078 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.3971, allocations: 368.7 kB / 1.078 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3973, allocations: 110.4 kB / 1.078 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.3974, allocations: 101.7 kB / 1.078 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3976, allocations: 390.7 kB / 1.078 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.398, allocations: 229.8 kB / 1.079 GB, free: 500 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/0.3988, allocations: 0.627 MB / 1.079 GB, free: 15.67 MB / 0.8419 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.003205/0.402, allocations: 1.782 MB / 1.081 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.402, allocations: 4 kB / 1.081 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001407/0.4034, allocations: 0.9109 MB / 1.082 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4035, allocations: 12 kB / 1.082 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.4035, allocations: 12.69 kB / 1.082 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.4037, allocations: 48.84 kB / 1.082 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/0.4044, allocations: 215.6 kB / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.4055, allocations: 1.354 MB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.4062, allocations: 47.97 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.4063, allocations: 44 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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.0003784/0.4067, allocations: 299 kB / 1.084 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.4068, allocations: 78.97 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.4069, allocations: 80.53 kB / 1.084 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4069, allocations: 4 kB / 1.084 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4069, allocations: 3.938 kB / 1.084 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.407, allocations: 3.984 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.4086, allocations: 1.15 MB / 1.085 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4086, allocations: 3.938 kB / 1.085 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.409, allocations: 84.06 kB / 1.085 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.4091, allocations: 36.77 kB / 1.085 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.4092, allocations: 12 kB / 1.085 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009498/0.4101, allocations: 1.335 MB / 1.087 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4101, allocations: 3.938 kB / 1.087 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.411, allocations: 0.6635 MB / 1.087 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.4113, allocations: 196.1 kB / 1.087 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.219e-05/0.4114, allocations: 11.94 kB / 1.087 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.4118, allocations: 31.91 kB / 1.088 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.4119, allocations: 19.98 kB / 1.088 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.4119, allocations: 7.984 kB / 1.088 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008233/0.4128, allocations: 0.6161 MB / 1.088 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4128, allocations: 0 / 1.088 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007464/0.4135, allocations: 212 kB / 1.088 GB, free: 5.766 MB / 0.8419 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.0001436/0.4137, allocations: 111.2 kB / 1.088 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.4148, allocations: 0.6383 MB / 1.089 GB, free: 5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4148, allocations: 4 kB / 1.089 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.4152, allocations: 271.7 kB / 1.089 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009893/0.4162, allocations: 163.4 kB / 1.089 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.4187, allocations: 1.989 MB / 1.091 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.4193, allocations: 0.9801 MB / 1.092 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004166/0.4197, allocations: 157.8 kB / 1.093 GB, free: 1.359 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.4199, allocations: 47.44 kB / 1.093 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.4199, allocations: 0 / 1.093 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of Templates: time 0.01577/0.4356, allocations: 8.48 MB / 1.101 GB, free: 8.938 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches