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.00215/0.00215, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002773/0.002773, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.4/1.4, allocations: 230.6 MB / 256 MB, free: 8.004 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.095/3.095, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_latest_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.001911/0.001911, allocations: 77.06 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3309, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.005617/0.3365, allocations: 3.786 MB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004589/0.3411, allocations: 2.583 MB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005996/0.3417, allocations: 19.81 kB / 1.359 GB, free: 2.016 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.3425, allocations: 258.4 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.3438, allocations: 0.5375 MB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.3452, allocations: 0.5661 MB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.3471, allocations: 1.394 MB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.3473, allocations: 105.7 kB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008301/0.3482, allocations: 454.5 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009275/0.3491, allocations: 0.5137 MB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.3492, allocations: 52 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.3495, allocations: 72 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004451/0.3499, allocations: 374.9 kB / 1.363 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005778/0.3505, allocations: 469.5 kB / 1.364 GB, free: 13.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3515, allocations: 0.9218 MB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3515, allocations: 4 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3515, allocations: 3.938 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.348e-05/0.3516, allocations: 0 / 1.365 GB, free: 12.3 MB / 1.061 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.002345/0.3539, allocations: 1.212 MB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.354, allocations: 8.031 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.311e-05/0.354, allocations: 70.72 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.3543, allocations: 116.3 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.3554, allocations: 0.6104 MB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.3554, allocations: 41.03 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.9e-05/0.3555, allocations: 56.12 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.356, allocations: 406.9 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3561, allocations: 4 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.3561, allocations: 12 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3561, allocations: 12 kB / 1.367 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.3565, allocations: 218.4 kB / 1.367 GB, free: 9.457 MB / 1.061 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.003/0.3595, allocations: 2.464 MB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.3607, allocations: 471.1 kB / 1.37 GB, free: 6.336 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.361, allocations: 141.2 kB / 1.37 GB, free: 6.195 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.361, allocations: 8.234 kB / 1.37 GB, free: 6.188 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.361, allocations: 34.8 kB / 1.37 GB, free: 6.145 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 2.144e-06/0.361, allocations: 0 / 1.37 GB, free: 6.145 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001902/0.3629, allocations: 1.072 MB / 1.371 GB, free: 5.035 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.363, allocations: 55.41 kB / 1.371 GB, free: 4.969 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.3641, allocations: 0.9272 MB / 1.372 GB, free: 4.027 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.3641, allocations: 37.7 kB / 1.372 GB, free: 3.984 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.3644, allocations: 377.2 kB / 1.373 GB, free: 3.613 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3645, allocations: 119 kB / 1.373 GB, free: 3.496 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.3647, allocations: 166.6 kB / 1.373 GB, free: 3.328 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.3649, allocations: 398.7 kB / 1.373 GB, free: 2.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.3653, allocations: 221.8 kB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.366, allocations: 0.6274 MB / 1.374 GB, free: 1.895 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.002813/0.3688, allocations: 1.613 MB / 1.376 GB, free: 92 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3688, allocations: 7.938 kB / 1.376 GB, free: 84 kB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001425/0.3702, allocations: 0.9006 MB / 1.377 GB, free: 15.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.3702, allocations: 14.03 kB / 1.377 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.3702, allocations: 16 kB / 1.377 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.3704, allocations: 56.8 kB / 1.377 GB, free: 15.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.3711, allocations: 199.7 kB / 1.377 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.3723, allocations: 1.369 MB / 1.378 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.3729, allocations: 43.97 kB / 1.378 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.373, allocations: 36.12 kB / 1.378 GB, free: 13.32 MB / 1.076 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.0003536/0.3733, allocations: 305.3 kB / 1.379 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3735, allocations: 87.38 kB / 1.379 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.3736, allocations: 80.52 kB / 1.379 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3736, allocations: 4 kB / 1.379 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3736, allocations: 3.938 kB / 1.379 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3736, allocations: 0 / 1.379 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.3753, allocations: 1.118 MB / 1.38 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3753, allocations: 4 kB / 1.38 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.3757, allocations: 79.88 kB / 1.38 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.3758, allocations: 36.95 kB / 1.38 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.3758, allocations: 8 kB / 1.38 GB, free: 11.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.3768, allocations: 1.341 MB / 1.381 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3768, allocations: 0 / 1.381 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008723/0.3777, allocations: 0.6631 MB / 1.382 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.378, allocations: 127.3 kB / 1.382 GB, free: 9.254 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/0.3781, allocations: 11.98 kB / 1.382 GB, free: 9.242 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.3785, allocations: 19.98 kB / 1.382 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.3785, allocations: 27.95 kB / 1.382 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.3785, allocations: 4 kB / 1.382 GB, free: 9.191 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008009/0.3794, allocations: 0.6278 MB / 1.383 GB, free: 8.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3794, allocations: 0 / 1.383 GB, free: 8.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006917/0.38, allocations: 215.9 kB / 1.383 GB, free: 8.359 MB / 1.076 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.001182/0.3812, allocations: 1.204 MB / 1.384 GB, free: 7.113 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.3823, allocations: 0.6253 MB / 1.385 GB, free: 6.477 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3823, allocations: 0 / 1.385 GB, free: 6.477 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003668/0.3827, allocations: 263.8 kB / 1.385 GB, free: 6.207 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.3835, allocations: 177.4 kB / 1.385 GB, free: 6.031 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009549/0.3931, allocations: 7.437 MB / 1.392 GB, free: 14.03 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.3937, allocations: 0.9875 MB / 1.393 GB, free: 13.02 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004285/0.3941, allocations: 157.8 kB / 1.394 GB, free: 12.86 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.3945, allocations: 291.3 kB / 1.394 GB, free: 12.57 MB / 1.092 GB Notification: Performance of SimCode: time 7.71e-07/0.3945, allocations: 0 / 1.394 GB, free: 12.57 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05373/0.4483, allocations: 16.55 MB / 1.41 GB, free: 12.28 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.82, allocations: 8.062 kB / 1.41 GB, free: 12.27 MB / 1.107 GB " [Timeout remaining time 287] (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: 19.293317122850567]