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 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.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.00146/0.00146, 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.00174/0.00174, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 69.06 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3476, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003891/0.3516, allocations: 2.773 MB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.3552, allocations: 2.812 MB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.3553, allocations: 7.938 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.3566, allocations: 462.2 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.3571, allocations: 247.1 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.3578, allocations: 335.3 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.3594, allocations: 1.708 MB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001912/0.3596, allocations: 133.5 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005204/0.3601, allocations: 406.8 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005115/0.3606, allocations: 402.5 kB / 1.077 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.3607, allocations: 24 kB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.3608, allocations: 28 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.3611, allocations: 227.3 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003089/0.3614, allocations: 338.2 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006648/0.362, allocations: 0.8761 MB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3621, allocations: 4 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.3621, allocations: 4 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3621, allocations: 0 / 1.078 GB, free: 148 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.001948/0.364, allocations: 1.144 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3641, allocations: 8.031 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3642, allocations: 80 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008842/0.3651, allocations: 0.6486 MB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.3651, allocations: 28.94 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.3652, allocations: 36.38 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.3657, allocations: 378.9 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3658, allocations: 3.938 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.3658, allocations: 12 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.3658, allocations: 8 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.3662, allocations: 233.5 kB / 1.081 GB, free: 13.46 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.003408/0.3696, allocations: 2.459 MB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.3706, allocations: 406.4 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.3709, allocations: 144.7 kB / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3709, allocations: 0 / 1.083 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3709, allocations: 34.56 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.3709, allocations: 4 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0009443/0.3719, allocations: 0.5274 MB / 1.084 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.3719, allocations: 55.41 kB / 1.084 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3731, allocations: 0.9375 MB / 1.085 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.3731, allocations: 37.64 kB / 1.085 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.3733, allocations: 304.4 kB / 1.085 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.3734, allocations: 67 kB / 1.085 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.3736, allocations: 126.2 kB / 1.085 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3738, allocations: 382.7 kB / 1.086 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.3741, allocations: 232.9 kB / 1.086 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.3747, allocations: 0.5053 MB / 1.087 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008151/0.3755, allocations: 0.7049 MB / 1.087 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.3755, allocations: 4 kB / 1.087 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001172/0.3767, allocations: 0.8085 MB / 1.088 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3767, allocations: 8 kB / 1.088 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.3767, allocations: 15.98 kB / 1.088 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.3769, allocations: 44.83 kB / 1.088 GB, free: 5.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.3774, allocations: 148 kB / 1.088 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.3785, allocations: 1.428 MB / 1.09 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006656/0.3792, allocations: 131.4 kB / 1.09 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.3792, allocations: 28 kB / 1.09 GB, free: 3.273 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.0003624/0.3796, allocations: 343.3 kB / 1.09 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.352e-05/0.3797, allocations: 59.25 kB / 1.09 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.3798, allocations: 66 kB / 1.09 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3798, allocations: 3.938 kB / 1.09 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3798, allocations: 4 kB / 1.09 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3798, allocations: 4 kB / 1.09 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.3805, allocations: 0.583 MB / 1.091 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3805, allocations: 0 / 1.091 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.3807, allocations: 47.89 kB / 1.091 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.3809, allocations: 40.83 kB / 1.091 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.3809, allocations: 11.98 kB / 1.091 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009974/0.3819, allocations: 1.432 MB / 1.092 GB, free: 500 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3819, allocations: 0 / 1.092 GB, free: 500 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000745/0.3827, allocations: 0.5709 MB / 1.093 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.3829, allocations: 200.3 kB / 1.093 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.218e-05/0.383, allocations: 8 kB / 1.093 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.3834, allocations: 51.86 kB / 1.093 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.3835, allocations: 11.97 kB / 1.093 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3835, allocations: 8 kB / 1.093 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007988/0.3843, allocations: 0.6668 MB / 1.094 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3843, allocations: 3.938 kB / 1.094 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006036/0.3849, allocations: 179.8 kB / 1.094 GB, free: 14.76 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.0001158/0.385, allocations: 99.25 kB / 1.094 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000823/0.3859, allocations: 0.5783 MB / 1.095 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3859, allocations: 4.188 kB / 1.095 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3862, allocations: 244.4 kB / 1.095 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000793/0.387, allocations: 162.8 kB / 1.095 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.3892, allocations: 1.707 MB / 1.097 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.3898, allocations: 1.007 MB / 1.098 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004398/0.3902, allocations: 184.5 kB / 1.098 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.3904, allocations: 43.38 kB / 1.098 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of SimCode: time 1.542e-06/0.3904, allocations: 0 / 1.098 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of Templates: time 0.01392/0.4043, allocations: 8.083 MB / 1.106 GB, free: 2.691 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