Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001478/0.001478, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001737/0.001738, allocations: 194.4 kB / 16.14 MB, free: 6.703 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.86 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3713, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004445/0.3758, allocations: 2.785 MB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004805/0.3806, allocations: 2.797 MB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.381, allocations: 7.938 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.3826, allocations: 470.2 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007355/0.3834, allocations: 243 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.3846, allocations: 323.3 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002258/0.3869, allocations: 1.722 MB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.3872, allocations: 133.5 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008558/0.388, allocations: 402.8 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007843/0.3888, allocations: 398.5 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.389, allocations: 20 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3892, allocations: 32 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.3895, allocations: 235.3 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005126/0.39, allocations: 334.2 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.3909, allocations: 0.8762 MB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3909, allocations: 3.984 kB / 1.078 GB, free: 84 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3909, allocations: 4 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.182e-05/0.3909, allocations: 0 / 1.078 GB, free: 80 kB / 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.002545/0.3935, allocations: 1.146 MB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3935, allocations: 12.03 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.3937, allocations: 76 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3948, allocations: 0.6525 MB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.3948, allocations: 28.94 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/0.3949, allocations: 40.38 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005949/0.3955, allocations: 378.8 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.3956, allocations: 0 / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.3956, allocations: 12 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.3956, allocations: 8 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.396, allocations: 241.5 kB / 1.081 GB, free: 13.39 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.003719/0.3998, allocations: 2.455 MB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.4008, allocations: 406.4 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.401, allocations: 142.3 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.4011, allocations: 4 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.4011, allocations: 30.56 kB / 1.083 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.4011, allocations: 0 / 1.083 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.001016/0.4021, allocations: 0.534 MB / 1.084 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.4022, allocations: 51.41 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.4034, allocations: 0.9414 MB / 1.085 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.4035, allocations: 33.7 kB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.4038, allocations: 300.5 kB / 1.085 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.515e-05/0.4039, allocations: 67 kB / 1.085 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.404, allocations: 118.2 kB / 1.085 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4042, allocations: 390.7 kB / 1.086 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.4046, allocations: 240.9 kB / 1.086 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.4051, allocations: 0.4936 MB / 1.087 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/0.4059, allocations: 0.7047 MB / 1.087 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4059, allocations: 0 / 1.087 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001239/0.4071, allocations: 0.8197 MB / 1.088 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.4072, allocations: 9.562 kB / 1.088 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4072, allocations: 8 kB / 1.088 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002326/0.4074, allocations: 61.41 kB / 1.088 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.4079, allocations: 135.8 kB / 1.088 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.4091, allocations: 1.436 MB / 1.09 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006563/0.4097, allocations: 127.2 kB / 1.09 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.4098, allocations: 28 kB / 1.09 GB, free: 3.207 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.0003578/0.4101, allocations: 341.9 kB / 1.09 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.4102, allocations: 63.23 kB / 1.09 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.4103, allocations: 70.09 kB / 1.09 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4104, allocations: 7.938 kB / 1.09 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4104, allocations: 0 / 1.09 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4104, allocations: 0 / 1.09 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.411, allocations: 0.5791 MB / 1.091 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.411, allocations: 0 / 1.091 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.4113, allocations: 47.97 kB / 1.091 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001229/0.4114, allocations: 48.81 kB / 1.091 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.4114, allocations: 11.98 kB / 1.091 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.4124, allocations: 1.428 MB / 1.092 GB, free: 428 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4125, allocations: 0 / 1.092 GB, free: 428 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.4132, allocations: 0.5616 MB / 1.093 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.4134, allocations: 200.3 kB / 1.093 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.4135, allocations: 11.98 kB / 1.093 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.4139, allocations: 51.92 kB / 1.093 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.414, allocations: 11.98 kB / 1.093 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.414, allocations: 7.938 kB / 1.093 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007808/0.4148, allocations: 0.659 MB / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4148, allocations: 0 / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005989/0.4154, allocations: 183.8 kB / 1.094 GB, free: 14.71 MB / 0.8575 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.000131/0.4155, allocations: 115.2 kB / 1.094 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008695/0.4164, allocations: 0.5721 MB / 1.095 GB, free: 14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4164, allocations: 0 / 1.095 GB, free: 14 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.4168, allocations: 242.5 kB / 1.095 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.4177, allocations: 160.8 kB / 1.095 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.4201, allocations: 1.716 MB / 1.097 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006199/0.4207, allocations: 1.003 MB / 1.098 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004505/0.4212, allocations: 188.5 kB / 1.098 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.4213, allocations: 39.38 kB / 1.098 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of SimCode: time 6.82e-07/0.4213, allocations: 0 / 1.098 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of Templates: time 0.0152/0.4365, allocations: 8.085 MB / 1.106 GB, free: 2.625 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches