Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001739/0.001739, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.003025/0.003025, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.977/2.977, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",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.00208/0.00208, allocations: 67.72 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3426, allocations: 170 MB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.007422/0.3501, allocations: 3.796 MB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00571/0.3558, allocations: 2.591 MB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007625/0.3565, allocations: 23.81 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.3576, allocations: 250.5 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.3591, allocations: 0.5366 MB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.3609, allocations: 0.5623 MB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.3631, allocations: 1.398 MB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.3633, allocations: 93.73 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007373/0.3641, allocations: 462.5 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007942/0.3649, allocations: 0.5098 MB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.365, allocations: 56 kB / 1.293 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.3651, allocations: 64 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.3655, allocations: 370.9 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.366, allocations: 465.6 kB / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.3671, allocations: 0.9218 MB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3671, allocations: 0 / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3671, allocations: 4 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.3671, allocations: 4 kB / 1.295 GB, free: 15.45 MB / 0.9981 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.002454/0.3695, allocations: 1.212 MB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3696, allocations: 12.03 kB / 1.296 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.896e-05/0.3697, allocations: 74.72 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.37, allocations: 112.3 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.3712, allocations: 0.6065 MB / 1.297 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.3713, allocations: 45.03 kB / 1.297 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.3714, allocations: 64.06 kB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.372, allocations: 399 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.372, allocations: 3.938 kB / 1.298 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.3721, allocations: 16 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.3721, allocations: 8 kB / 1.298 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004249/0.3725, allocations: 226.4 kB / 1.298 GB, free: 12.59 MB / 0.9981 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.003322/0.3758, allocations: 2.46 MB / 1.3 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.3772, allocations: 472.7 kB / 1.301 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.3774, allocations: 141.2 kB / 1.301 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.3774, allocations: 4.234 kB / 1.301 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3775, allocations: 38.8 kB / 1.301 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.554e-06/0.3775, allocations: 0 / 1.301 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.002166/0.3796, allocations: 1.069 MB / 1.302 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3797, allocations: 59.41 kB / 1.302 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.381, allocations: 0.931 MB / 1.303 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.381, allocations: 41.7 kB / 1.303 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.3814, allocations: 365.2 kB / 1.303 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.3815, allocations: 126.9 kB / 1.303 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.3817, allocations: 166.6 kB / 1.304 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.382, allocations: 394.8 kB / 1.304 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.3824, allocations: 233.8 kB / 1.304 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/0.3831, allocations: 0.6196 MB / 1.305 GB, free: 5.031 MB / 0.9981 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.00308/0.3862, allocations: 1.615 MB / 1.306 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.3862, allocations: 11.94 kB / 1.306 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001522/0.3877, allocations: 0.8996 MB / 1.307 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.3877, allocations: 14.34 kB / 1.307 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.3878, allocations: 12.78 kB / 1.307 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.3879, allocations: 56.81 kB / 1.307 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.3886, allocations: 215.6 kB / 1.307 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.39, allocations: 1.353 MB / 1.309 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/0.3907, allocations: 43.97 kB / 1.309 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.3907, allocations: 40 kB / 1.309 GB, free: 472 kB / 0.9981 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.0004012/0.3911, allocations: 305.1 kB / 1.309 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.3913, allocations: 91.33 kB / 1.309 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.3914, allocations: 72.61 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3914, allocations: 7.938 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3914, allocations: 0 / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3914, allocations: 3.984 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.3932, allocations: 1.119 MB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3932, allocations: 0 / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.3936, allocations: 83.88 kB / 1.311 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.3938, allocations: 36.95 kB / 1.311 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.3938, allocations: 12 kB / 1.311 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.395, allocations: 1.338 MB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.395, allocations: 7.984 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009879/0.396, allocations: 0.6633 MB / 1.313 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.3963, allocations: 123.4 kB / 1.313 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/0.3964, allocations: 8 kB / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004354/0.3968, allocations: 19.97 kB / 1.313 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.3969, allocations: 27.95 kB / 1.313 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.3969, allocations: 8 kB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009508/0.3979, allocations: 0.6239 MB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3979, allocations: 0 / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008015/0.3987, allocations: 211.9 kB / 1.314 GB, free: 11.5 MB / 1.014 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.001416/0.4001, allocations: 1.21 MB / 1.315 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.4014, allocations: 0.6261 MB / 1.315 GB, free: 9.613 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4014, allocations: 3.938 kB / 1.315 GB, free: 9.609 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.4018, allocations: 255.6 kB / 1.316 GB, free: 9.348 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.4027, allocations: 175.4 kB / 1.316 GB, free: 9.172 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.4133, allocations: 7.437 MB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.4141, allocations: 0.9877 MB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004261/0.4145, allocations: 157.8 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004281/0.4149, allocations: 291.4 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.4149, allocations: 0 / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05608/0.471, allocations: 16.55 MB / 1.341 GB, free: 15.43 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.59, allocations: 4.188 kB / 1.341 GB, free: 15.43 MB / 1.045 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.53266202402301]