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.0013/0.0013, allocations: 97.27 kB / 19.73 MB, free: 2.129 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.001744/0.001744, allocations: 214.6 kB / 23.02 MB, free: 4.957 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.09/3.09, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 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="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.001904/0.001904, allocations: 69.86 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3231, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004997/0.3281, allocations: 3.431 MB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005014/0.3332, allocations: 2.409 MB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005141/0.3337, allocations: 19.81 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.3345, allocations: 242.4 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.3359, allocations: 0.5513 MB / 1.352 GB, free: 9.301 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3376, allocations: 0.5652 MB / 1.352 GB, free: 8.734 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001895/0.3395, allocations: 1.386 MB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.3397, allocations: 101.7 kB / 1.354 GB, free: 7.238 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007141/0.3405, allocations: 462.4 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007589/0.3412, allocations: 0.5137 MB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3413, allocations: 59.94 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.3415, allocations: 68 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004405/0.342, allocations: 374.9 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.3424, allocations: 374.2 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3434, allocations: 0.9412 MB / 1.356 GB, free: 4.465 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3434, allocations: 0 / 1.356 GB, free: 4.465 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3435, allocations: 0 / 1.356 GB, free: 4.465 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.756e-05/0.3435, allocations: 0 / 1.356 GB, free: 4.465 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.002408/0.3459, allocations: 1.22 MB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3459, allocations: 8.031 kB / 1.358 GB, free: 3.203 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.14e-05/0.3459, allocations: 8.844 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.057e-05/0.346, allocations: 70.72 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.3463, allocations: 120.3 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.3474, allocations: 0.6026 MB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.3475, allocations: 49.02 kB / 1.358 GB, free: 2.32 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.3476, allocations: 59.94 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/0.3482, allocations: 399 kB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3482, allocations: 3.938 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.3482, allocations: 12 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3483, allocations: 8 kB / 1.359 GB, free: 1.812 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.3487, allocations: 230.4 kB / 1.359 GB, free: 1.59 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.002739/0.3514, allocations: 1.856 MB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3527, allocations: 467.2 kB / 1.361 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.353, allocations: 141.2 kB / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.353, allocations: 240 / 1.362 GB, free: 15.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.353, allocations: 38.8 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.353, allocations: 0 / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.002107/0.3551, allocations: 1.073 MB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.3552, allocations: 51.41 kB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.3564, allocations: 0.9233 MB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.3564, allocations: 41.7 kB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.3567, allocations: 373.2 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.3568, allocations: 122.9 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.3571, allocations: 170.6 kB / 1.364 GB, free: 12.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3573, allocations: 390.8 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.3576, allocations: 229.8 kB / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006683/0.3583, allocations: 0.6157 MB / 1.365 GB, free: 10.77 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.002968/0.3613, allocations: 1.62 MB / 1.367 GB, free: 8.957 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.3613, allocations: 8 kB / 1.367 GB, free: 8.949 MB / 1.061 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001482/0.3628, allocations: 0.8996 MB / 1.368 GB, free: 8.039 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3628, allocations: 12.84 kB / 1.368 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.3628, allocations: 12 kB / 1.368 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.363, allocations: 56.83 kB / 1.368 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.3636, allocations: 207.6 kB / 1.368 GB, free: 7.754 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.3648, allocations: 1.361 MB / 1.37 GB, free: 6.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007565/0.3656, allocations: 48.12 kB / 1.37 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.3656, allocations: 47.94 kB / 1.37 GB, free: 6.184 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.0003674/0.366, allocations: 293.3 kB / 1.37 GB, free: 5.887 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.3661, allocations: 87.38 kB / 1.37 GB, free: 5.801 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.3663, allocations: 80.52 kB / 1.37 GB, free: 5.723 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3663, allocations: 4 kB / 1.37 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3663, allocations: 0 / 1.37 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3663, allocations: 0 / 1.37 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.3679, allocations: 1.028 MB / 1.371 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3679, allocations: 0 / 1.371 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.3683, allocations: 83.89 kB / 1.371 GB, free: 4.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.3684, allocations: 36.95 kB / 1.371 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.3685, allocations: 11.98 kB / 1.371 GB, free: 4.492 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.3695, allocations: 1.322 MB / 1.372 GB, free: 3.055 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3695, allocations: 4.031 kB / 1.372 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.3705, allocations: 0.671 MB / 1.373 GB, free: 2.348 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.3707, allocations: 119.4 kB / 1.373 GB, free: 2.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/0.3708, allocations: 15.98 kB / 1.373 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.3713, allocations: 23.97 kB / 1.373 GB, free: 2.191 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.3713, allocations: 15.97 kB / 1.373 GB, free: 2.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3714, allocations: 8 kB / 1.373 GB, free: 2.168 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008733/0.3722, allocations: 0.6317 MB / 1.374 GB, free: 1.539 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3722, allocations: 0 / 1.374 GB, free: 1.539 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007397/0.373, allocations: 208 kB / 1.374 GB, free: 1.336 MB / 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.001233/0.3742, allocations: 1.212 MB / 1.375 GB, free: 84 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.3754, allocations: 0.611 MB / 1.376 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3754, allocations: 64 / 1.376 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.3757, allocations: 262.5 kB / 1.376 GB, free: 15.19 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008485/0.3766, allocations: 188 kB / 1.376 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.3871, allocations: 7.449 MB / 1.384 GB, free: 7.004 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.3876, allocations: 392.2 kB / 1.384 GB, free: 6.594 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004526/0.388, allocations: 157.8 kB / 1.384 GB, free: 6.438 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.3884, allocations: 291.3 kB / 1.384 GB, free: 6.156 MB / 1.076 GB Notification: Performance of SimCode: time 1.283e-06/0.3884, allocations: 0 / 1.384 GB, free: 6.156 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06522/0.4537, allocations: 17.4 MB / 1.401 GB, free: 5.145 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.19, allocations: 10.75 kB / 1.401 GB, free: 5.137 MB / 1.092 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.823799522942863]