Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.ConductorMultiLayer3,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009376/0.009376, allocations: 100.6 kB / 15.73 MB, free: 6.047 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.002038/0.002038, allocations: 182.7 kB / 16.67 MB, free: 5.977 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.648/2.648, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 66.66 kB / 0.9508 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.317, allocations: 140.4 MB / 1.088 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004505/0.3216, allocations: 2.737 MB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005642/0.3273, allocations: 2.781 MB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.3277, allocations: 7.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.3297, allocations: 0.4941 MB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007998/0.3306, allocations: 262.8 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.3321, allocations: 395 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.3344, allocations: 1.529 MB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003511/0.3348, allocations: 134.3 kB / 1.096 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009376/0.3357, allocations: 474.8 kB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000716/0.3365, allocations: 386.6 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3366, allocations: 48 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.3368, allocations: 48 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004012/0.3372, allocations: 283.2 kB / 1.097 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.3377, allocations: 374.2 kB / 1.098 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.339, allocations: 0.9073 MB / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.339, allocations: 0 / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/0.339, allocations: 0 / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.339, allocations: 0 / 1.098 GB, free: 6.676 MB / 0.8575 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.002877/0.3419, allocations: 1.144 MB / 1.1 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.342, allocations: 8.031 kB / 1.1 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.3422, allocations: 83.98 kB / 1.1 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.3437, allocations: 0.672 MB / 1.1 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.3438, allocations: 32.94 kB / 1.1 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3439, allocations: 40.38 kB / 1.1 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000792/0.3447, allocations: 378.8 kB / 1.101 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.3447, allocations: 0 / 1.101 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.3448, allocations: 12 kB / 1.101 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3448, allocations: 4 kB / 1.101 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/0.3453, allocations: 237.5 kB / 1.101 GB, free: 3.965 MB / 0.8575 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.004892/0.3502, allocations: 2.451 MB / 1.103 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.3516, allocations: 394.5 kB / 1.104 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.3519, allocations: 146.3 kB / 1.104 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3519, allocations: 320 / 1.104 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.3519, allocations: 34.5 kB / 1.104 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.3519, allocations: 7.875 kB / 1.104 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001357/0.3533, allocations: 0.5375 MB / 1.104 GB, free: 172 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.3534, allocations: 51.41 kB / 1.105 GB, free: 108 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.3553, allocations: 0.9414 MB / 1.105 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.3553, allocations: 33.7 kB / 1.105 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.3557, allocations: 296.5 kB / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3558, allocations: 78.88 kB / 1.106 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.3561, allocations: 126.2 kB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002576/0.3564, allocations: 382.7 kB / 1.106 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.3569, allocations: 236.9 kB / 1.107 GB, free: 14 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.3576, allocations: 0.5014 MB / 1.107 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/0.3585, allocations: 0.6921 MB / 1.108 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.3586, allocations: 0 / 1.108 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001423/0.36, allocations: 0.8188 MB / 1.108 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.36, allocations: 10.34 kB / 1.109 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.3601, allocations: 12 kB / 1.109 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.3604, allocations: 57.44 kB / 1.109 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005023/0.3609, allocations: 143.7 kB / 1.109 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.3627, allocations: 1.535 MB / 1.11 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/0.3635, allocations: 131.1 kB / 1.11 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.3635, allocations: 28 kB / 1.11 GB, free: 9.672 MB / 0.8731 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.000464/0.364, allocations: 339.4 kB / 1.111 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3641, allocations: 63.28 kB / 1.111 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3643, allocations: 70 kB / 1.111 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3643, allocations: 3.984 kB / 1.111 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3643, allocations: 0 / 1.111 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3643, allocations: 0 / 1.111 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007705/0.3651, allocations: 0.583 MB / 1.111 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3651, allocations: 4 kB / 1.111 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.3654, allocations: 51.83 kB / 1.111 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001328/0.3655, allocations: 44.83 kB / 1.111 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.3655, allocations: 8 kB / 1.111 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.3667, allocations: 1.519 MB / 1.113 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3667, allocations: 0 / 1.113 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.3674, allocations: 0.5617 MB / 1.114 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.3677, allocations: 200.3 kB / 1.114 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.3678, allocations: 19.92 kB / 1.114 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.3682, allocations: 51.98 kB / 1.114 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.3683, allocations: 11.92 kB / 1.114 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.3683, allocations: 4 kB / 1.114 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000926/0.3693, allocations: 0.6629 MB / 1.114 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3693, allocations: 0 / 1.114 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006908/0.37, allocations: 187.8 kB / 1.115 GB, free: 5.062 MB / 0.8731 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.0001394/0.3701, allocations: 107.2 kB / 1.115 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009283/0.371, allocations: 0.579 MB / 1.115 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3711, allocations: 0 / 1.115 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.3714, allocations: 253.2 kB / 1.116 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000814/0.3722, allocations: 171.3 kB / 1.116 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.3744, allocations: 1.51 MB / 1.117 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/0.3752, allocations: 1.01 MB / 1.118 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004475/0.3757, allocations: 180.5 kB / 1.118 GB, free: 1.184 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.3758, allocations: 39.44 kB / 1.118 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.3758, allocations: 0 / 1.118 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of Templates: time 0.01513/0.391, allocations: 8.518 MB / 1.127 GB, free: 8.738 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches