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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001314/0.001314, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001475/0.001475, allocations: 190.3 kB / 16.14 MB, free: 6.645 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.563/1.563, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.67 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3412, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005112/0.3463, allocations: 3.741 MB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004291/0.3507, allocations: 2.552 MB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003597/0.3511, allocations: 15.88 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007956/0.3519, allocations: 218.8 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.3531, allocations: 474 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.3544, allocations: 471 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.356, allocations: 1.613 MB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.3562, allocations: 128.8 kB / 1.076 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005093/0.3568, allocations: 382.5 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006105/0.3574, allocations: 0.4981 MB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.705e-05/0.3575, allocations: 36 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.3576, allocations: 47.94 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000325/0.358, allocations: 319 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004198/0.3584, allocations: 437.7 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007451/0.3591, allocations: 0.8716 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3591, allocations: 0 / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3592, allocations: 0 / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3592, allocations: 0 / 1.079 GB, free: 15.07 MB / 0.8419 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.002256/0.3614, allocations: 1.253 MB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/0.3615, allocations: 8.031 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3617, allocations: 107.7 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.3627, allocations: 0.6442 MB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.3627, allocations: 41.03 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-05/0.3628, allocations: 56.38 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.3634, allocations: 406.8 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3634, allocations: 0 / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.3635, allocations: 15.94 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3635, allocations: 8 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.3639, allocations: 234.4 kB / 1.082 GB, free: 12.18 MB / 0.8419 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.003209/0.3671, allocations: 2.494 MB / 1.084 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.3685, allocations: 499.1 kB / 1.085 GB, free: 9 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.3688, allocations: 149.2 kB / 1.085 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.3689, allocations: 4.234 kB / 1.085 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.3689, allocations: 34.8 kB / 1.085 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 2.364e-06/0.3689, allocations: 0 / 1.085 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.002489/0.3714, allocations: 1.208 MB / 1.086 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3715, allocations: 55.41 kB / 1.086 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.3729, allocations: 0.9154 MB / 1.087 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.3729, allocations: 41.7 kB / 1.087 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.3733, allocations: 368.7 kB / 1.087 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.3734, allocations: 118.4 kB / 1.087 GB, free: 6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.3737, allocations: 166.6 kB / 1.088 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002845/0.374, allocations: 394.8 kB / 1.088 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.3744, allocations: 225.8 kB / 1.088 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007882/0.3752, allocations: 0.6192 MB / 1.089 GB, free: 4.402 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.00305/0.3782, allocations: 1.77 MB / 1.09 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3782, allocations: 8 kB / 1.091 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001338/0.3796, allocations: 0.9113 MB / 1.091 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.3796, allocations: 15.94 kB / 1.091 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.3796, allocations: 12 kB / 1.091 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.3798, allocations: 52.77 kB / 1.091 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.3805, allocations: 204 kB / 1.092 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.3816, allocations: 1.366 MB / 1.093 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006367/0.3823, allocations: 48.12 kB / 1.093 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.3823, allocations: 40 kB / 1.093 GB, free: 15.61 MB / 0.8575 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.0003456/0.3827, allocations: 299.2 kB / 1.093 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3828, allocations: 82.88 kB / 1.093 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3829, allocations: 76.52 kB / 1.094 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.383, allocations: 11.94 kB / 1.094 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.383, allocations: 3.938 kB / 1.094 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.383, allocations: 4 kB / 1.094 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.3846, allocations: 1.129 MB / 1.095 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3846, allocations: 4.031 kB / 1.095 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.385, allocations: 87.88 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.3851, allocations: 28.84 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.3851, allocations: 11.98 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009438/0.3861, allocations: 1.338 MB / 1.096 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3861, allocations: 4.031 kB / 1.096 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.387, allocations: 0.6555 MB / 1.097 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.3873, allocations: 200 kB / 1.097 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.3874, allocations: 15.98 kB / 1.097 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.3878, allocations: 23.92 kB / 1.097 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.3879, allocations: 19.97 kB / 1.097 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.3879, allocations: 8 kB / 1.097 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008214/0.3887, allocations: 0.6161 MB / 1.098 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3887, allocations: 0 / 1.098 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000695/0.3894, allocations: 208 kB / 1.098 GB, free: 10.54 MB / 0.8575 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.0001615/0.3896, allocations: 115.2 kB / 1.098 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.3907, allocations: 0.6457 MB / 1.099 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3907, allocations: 0 / 1.099 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.3911, allocations: 267.1 kB / 1.099 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.392, allocations: 159.2 kB / 1.099 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.3944, allocations: 1.854 MB / 1.101 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.395, allocations: 0.9956 MB / 1.102 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003962/0.3954, allocations: 153.8 kB / 1.102 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3955, allocations: 47.44 kB / 1.102 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of SimCode: time 3e-07/0.3955, allocations: 4 kB / 1.102 GB, free: 6.211 MB / 0.8575 GB Notification: Performance of Templates: time 0.01548/0.411, allocations: 8.558 MB / 1.11 GB, free: 13.76 MB / 0.8731 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