Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,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.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,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.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006116/0.006116, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.374/1.374, 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.837/2.837, allocations: 462.7 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8.875 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3558, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003031/0.3588, allocations: 2.424 MB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004027/0.3629, allocations: 2.75 MB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.3631, allocations: 4 kB / 1.064 GB, free: 312 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.3646, allocations: 466.2 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005818/0.3651, allocations: 251 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009301/0.3661, allocations: 335.2 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.3679, allocations: 1.712 MB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.3681, allocations: 121.7 kB / 1.067 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005927/0.3687, allocations: 402.8 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005435/0.3693, allocations: 398.5 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.3694, allocations: 20 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.678e-05/0.3695, allocations: 28 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.3697, allocations: 231.3 kB / 1.068 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.3701, allocations: 355.9 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.3708, allocations: 0.8564 MB / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3708, allocations: 0 / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3708, allocations: 0 / 1.069 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3708, allocations: 0 / 1.069 GB, free: 11.16 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001803/0.3726, allocations: 1.039 MB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.3727, allocations: 12.02 kB / 1.07 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.3729, allocations: 83.98 kB / 1.07 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009527/0.3738, allocations: 0.6448 MB / 1.07 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/0.3739, allocations: 36.88 kB / 1.07 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.3739, allocations: 36.38 kB / 1.071 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005882/0.3745, allocations: 374.9 kB / 1.071 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3746, allocations: 0 / 1.071 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.3746, allocations: 12 kB / 1.071 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3746, allocations: 11.94 kB / 1.071 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.375, allocations: 237.5 kB / 1.071 GB, free: 8.578 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.003456/0.3785, allocations: 2.475 MB / 1.074 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009873/0.3795, allocations: 404.5 kB / 1.074 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.3797, allocations: 144.7 kB / 1.074 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.3798, allocations: 0 / 1.074 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3798, allocations: 38.56 kB / 1.074 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.3798, allocations: 0 / 1.074 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0009757/0.3808, allocations: 0.5456 MB / 1.075 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.3808, allocations: 51.41 kB / 1.075 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.382, allocations: 0.9298 MB / 1.076 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.382, allocations: 37.7 kB / 1.076 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.3823, allocations: 304.4 kB / 1.076 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-05/0.3824, allocations: 63.09 kB / 1.076 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.3824, allocations: 69.62 kB / 1.076 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3826, allocations: 390.7 kB / 1.076 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.383, allocations: 240.9 kB / 1.077 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.3835, allocations: 0.4975 MB / 1.077 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008173/0.3843, allocations: 0.7051 MB / 1.078 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.3843, allocations: 4 kB / 1.078 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001263/0.3856, allocations: 0.8177 MB / 1.079 GB, free: 356 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.3856, allocations: 16.16 kB / 1.079 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3857, allocations: 8 kB / 1.079 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.3859, allocations: 56.81 kB / 1.079 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.3864, allocations: 143.7 kB / 1.079 GB, free: 128 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.3876, allocations: 1.436 MB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.3883, allocations: 123.2 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.3883, allocations: 32.16 kB / 1.08 GB, free: 14.41 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.0003685/0.3887, allocations: 347.1 kB / 1.081 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.743e-05/0.3888, allocations: 59.25 kB / 1.081 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3889, allocations: 66 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3889, allocations: 3.938 kB / 1.081 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3889, allocations: 4 kB / 1.081 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3889, allocations: 3.984 kB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.3896, allocations: 0.5752 MB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3896, allocations: 0 / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.3898, allocations: 59.89 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.39, allocations: 36.81 kB / 1.082 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.39, allocations: 8 kB / 1.082 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009727/0.391, allocations: 1.428 MB / 1.083 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.391, allocations: 0 / 1.083 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007591/0.3918, allocations: 0.5777 MB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.392, allocations: 200.3 kB / 1.084 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.3921, allocations: 11.98 kB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004021/0.3925, allocations: 47.86 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.3926, allocations: 15.98 kB / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.3926, allocations: 0 / 1.084 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008858/0.3935, allocations: 0.6668 MB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.3935, allocations: 0 / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000665/0.3942, allocations: 183.8 kB / 1.085 GB, free: 9.898 MB / 0.8419 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.0001356/0.3943, allocations: 107.2 kB / 1.085 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009616/0.3953, allocations: 0.5795 MB / 1.085 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3953, allocations: 4.312 kB / 1.085 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.3956, allocations: 246.5 kB / 1.085 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/0.3965, allocations: 162.8 kB / 1.086 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.3988, allocations: 1.804 MB / 1.087 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.3994, allocations: 1.014 MB / 1.088 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004221/0.3999, allocations: 180.5 kB / 1.089 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.4, allocations: 39.44 kB / 1.089 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of SimCode: time 7.32e-07/0.4, allocations: 0 / 1.089 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of Templates: time 0.01436/0.4144, allocations: 7.96 MB / 1.096 GB, free: 13.84 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches