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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.286/3.286, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 70.19 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3577, allocations: 179 MB / 1.345 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.006086/0.3638, allocations: 3.796 MB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005694/0.3695, allocations: 2.583 MB / 1.352 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007081/0.3702, allocations: 19.81 kB / 1.352 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.3713, allocations: 262.2 kB / 1.352 GB, free: 9.793 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.3733, allocations: 0.5376 MB / 1.352 GB, free: 9.254 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.3753, allocations: 0.5668 MB / 1.353 GB, free: 8.688 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002697/0.378, allocations: 1.382 MB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.3784, allocations: 101.7 kB / 1.354 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001279/0.3797, allocations: 454.5 kB / 1.355 GB, free: 6.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.3809, allocations: 0.5176 MB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.3812, allocations: 52 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003619/0.3815, allocations: 79.92 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005551/0.3821, allocations: 371 kB / 1.356 GB, free: 5.738 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000906/0.383, allocations: 465.5 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.3847, allocations: 0.9256 MB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3847, allocations: 0 / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3847, allocations: 0 / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.073e-05/0.3848, allocations: 0 / 1.357 GB, free: 4.352 MB / 1.045 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.00311/0.3879, allocations: 1.216 MB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.3879, allocations: 12.03 kB / 1.358 GB, free: 3.09 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.398e-05/0.388, allocations: 8.844 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.3881, allocations: 66.72 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.3885, allocations: 112.3 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.39, allocations: 0.6143 MB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.3901, allocations: 41.03 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3902, allocations: 59.94 kB / 1.359 GB, free: 2.156 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007389/0.3909, allocations: 399 kB / 1.36 GB, free: 1.73 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.391, allocations: 0 / 1.36 GB, free: 1.73 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.391, allocations: 16 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.391, allocations: 8 kB / 1.36 GB, free: 1.707 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.3915, allocations: 230.4 kB / 1.36 GB, free: 1.484 MB / 1.045 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.004055/0.3955, allocations: 2.452 MB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.397, allocations: 484.7 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.3972, allocations: 153.1 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.3973, allocations: 4.234 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3973, allocations: 30.8 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/0.3973, allocations: 0 / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.002638/0.3999, allocations: 1.073 MB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.4, allocations: 55.41 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.4017, allocations: 0.9272 MB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.4018, allocations: 41.7 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/0.4022, allocations: 373.2 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.4024, allocations: 119 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.4026, allocations: 166.6 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002404/0.4029, allocations: 390.8 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.4034, allocations: 229.8 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007902/0.4041, allocations: 0.6274 MB / 1.367 GB, free: 9.922 MB / 1.061 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.00351/0.4077, allocations: 1.612 MB / 1.368 GB, free: 8.117 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/0.4077, allocations: 4 kB / 1.368 GB, free: 8.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002219/0.4099, allocations: 0.9041 MB / 1.369 GB, free: 7.199 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.4099, allocations: 8 kB / 1.369 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/0.41, allocations: 16 kB / 1.369 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003032/0.4103, allocations: 48.83 kB / 1.369 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/0.411, allocations: 211.9 kB / 1.369 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.4127, allocations: 1.369 MB / 1.371 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.4139, allocations: 43.97 kB / 1.371 GB, free: 5.391 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.414, allocations: 40 kB / 1.371 GB, free: 5.352 MB / 1.061 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.0006486/0.4146, allocations: 293.3 kB / 1.371 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003167/0.4149, allocations: 87.38 kB / 1.371 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.4152, allocations: 84.58 kB / 1.371 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4152, allocations: 4 kB / 1.371 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.4152, allocations: 3.984 kB / 1.371 GB, free: 4.879 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4152, allocations: 0 / 1.371 GB, free: 4.879 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.4175, allocations: 1.122 MB / 1.372 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4175, allocations: 0 / 1.372 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.418, allocations: 83.88 kB / 1.372 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.4181, allocations: 32.78 kB / 1.372 GB, free: 3.574 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.4182, allocations: 15.98 kB / 1.373 GB, free: 3.559 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.4195, allocations: 1.326 MB / 1.374 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4195, allocations: 8.094 kB / 1.374 GB, free: 2.109 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4207, allocations: 0.6708 MB / 1.374 GB, free: 1.406 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004481/0.4211, allocations: 119.4 kB / 1.375 GB, free: 1.289 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.4213, allocations: 20.05 kB / 1.375 GB, free: 1.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.4219, allocations: 19.98 kB / 1.375 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.4219, allocations: 27.89 kB / 1.375 GB, free: 1.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.422, allocations: 4 kB / 1.375 GB, free: 1.219 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001025/0.423, allocations: 0.6317 MB / 1.375 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.423, allocations: 0 / 1.375 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009116/0.4239, allocations: 212 kB / 1.375 GB, free: 392 kB / 1.061 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.001387/0.4253, allocations: 1.2 MB / 1.377 GB, free: 15.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.4266, allocations: 0.6187 MB / 1.377 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4266, allocations: 4.125 kB / 1.377 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.4271, allocations: 258.5 kB / 1.378 GB, free: 14.24 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4281, allocations: 182.2 kB / 1.378 GB, free: 14.06 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.4395, allocations: 7.441 MB / 1.385 GB, free: 6.066 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.4402, allocations: 0.9954 MB / 1.386 GB, free: 5.043 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004663/0.4407, allocations: 149.9 kB / 1.386 GB, free: 4.895 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.4412, allocations: 291.3 kB / 1.386 GB, free: 4.609 MB / 1.076 GB Notification: Performance of SimCode: time 8.22e-07/0.4412, allocations: 0 / 1.386 GB, free: 4.609 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07006/0.5113, allocations: 16.58 MB / 1.403 GB, free: 4.305 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/14.12, allocations: 5.953 kB / 1.403 GB, free: 4.301 MB / 1.092 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.248144665034488]