Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001125/0.001125, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00134/0.00134, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.304/1.304, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] 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 2.916/2.916, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.001893/0.001893, allocations: 67.86 kB / 1.186 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3042, allocations: 181.9 MB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004665/0.3089, allocations: 3.448 MB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003909/0.3128, allocations: 2.415 MB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.313, allocations: 19.81 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.3137, allocations: 238.4 kB / 1.369 GB, free: 8.059 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.3147, allocations: 0.5483 MB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.3159, allocations: 0.5558 MB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.3173, allocations: 1.402 MB / 1.372 GB, free: 5.547 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.3175, allocations: 97.73 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005633/0.3181, allocations: 450.4 kB / 1.372 GB, free: 5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.3187, allocations: 466.1 kB / 1.373 GB, free: 4.543 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.626e-05/0.3188, allocations: 56 kB / 1.373 GB, free: 4.488 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.319, allocations: 75.98 kB / 1.373 GB, free: 4.414 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.3194, allocations: 398.8 kB / 1.373 GB, free: 4.023 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.3198, allocations: 382.2 kB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009499/0.3208, allocations: 0.9646 MB / 1.375 GB, free: 2.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3208, allocations: 0 / 1.375 GB, free: 2.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3208, allocations: 4 kB / 1.375 GB, free: 2.676 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3208, allocations: 0 / 1.375 GB, free: 2.676 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.002346/0.3231, allocations: 1.24 MB / 1.376 GB, free: 1.398 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3232, allocations: 8.031 kB / 1.376 GB, free: 1.391 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.489e-05/0.3232, allocations: 66.73 kB / 1.376 GB, free: 1.316 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.3235, allocations: 112.3 kB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.3247, allocations: 0.6221 MB / 1.377 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.3247, allocations: 44.97 kB / 1.377 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.396e-05/0.3248, allocations: 56.12 kB / 1.377 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.3255, allocations: 411 kB / 1.377 GB, free: 28 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3255, allocations: 3.938 kB / 1.377 GB, free: 24 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.3255, allocations: 16 kB / 1.377 GB, free: 8 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.3255, allocations: 8 kB / 1.377 GB, free: 0 / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.326, allocations: 238.4 kB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.3288, allocations: 1.883 MB / 1.379 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.3302, allocations: 0.522 MB / 1.38 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.3305, allocations: 149.2 kB / 1.38 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3305, allocations: 4 kB / 1.38 GB, free: 13.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.3305, allocations: 42.56 kB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.3305, allocations: 0 / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.001504/0.332, allocations: 0.652 MB / 1.38 GB, free: 12.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3321, allocations: 55.41 kB / 1.381 GB, free: 12.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.3332, allocations: 0.9349 MB / 1.381 GB, free: 11.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.3333, allocations: 45.7 kB / 1.382 GB, free: 11.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.3336, allocations: 369.2 kB / 1.382 GB, free: 10.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3337, allocations: 123 kB / 1.382 GB, free: 10.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.3339, allocations: 166.6 kB / 1.382 GB, free: 10.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3341, allocations: 398.7 kB / 1.383 GB, free: 10.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.3345, allocations: 249.8 kB / 1.383 GB, free: 10.05 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007025/0.3352, allocations: 0.6352 MB / 1.383 GB, free: 9.23 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.3363, allocations: 0.8953 MB / 1.384 GB, free: 8.141 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3363, allocations: 4 kB / 1.384 GB, free: 8.137 MB / 1.076 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001666/0.338, allocations: 1.022 MB / 1.385 GB, free: 7.098 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.338, allocations: 12 kB / 1.385 GB, free: 7.086 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.338, allocations: 15.94 kB / 1.385 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004012/0.3384, allocations: 127 kB / 1.385 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.3391, allocations: 187.7 kB / 1.386 GB, free: 6.754 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.3425, allocations: 4.151 MB / 1.39 GB, free: 2.254 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009457/0.3435, allocations: 115.2 kB / 1.39 GB, free: 2.141 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.3435, allocations: 47.94 kB / 1.39 GB, free: 2.094 MB / 1.076 GB 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003389/0.3439, allocations: 277.5 kB / 1.39 GB, free: 1.812 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.344, allocations: 83.44 kB / 1.39 GB, free: 1.73 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.3441, allocations: 80.53 kB / 1.39 GB, free: 1.645 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3441, allocations: 3.938 kB / 1.39 GB, free: 1.641 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3441, allocations: 4.188 kB / 1.39 GB, free: 1.637 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3441, allocations: 3.984 kB / 1.39 GB, free: 1.633 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.3448, allocations: 0.5236 MB / 1.391 GB, free: 1.066 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3448, allocations: 0 / 1.391 GB, free: 1.066 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.3451, allocations: 63.95 kB / 1.391 GB, free: 1.004 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003029/0.3454, allocations: 106.4 kB / 1.391 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.3454, allocations: 8 kB / 1.391 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.3487, allocations: 4.128 MB / 1.395 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3487, allocations: 0 / 1.395 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3498, allocations: 0.7395 MB / 1.396 GB, free: 11.65 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.3502, allocations: 139.2 kB / 1.396 GB, free: 11.51 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/0.3503, allocations: 8 kB / 1.396 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/0.3507, allocations: 23.97 kB / 1.396 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.3508, allocations: 23.95 kB / 1.396 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3508, allocations: 7.984 kB / 1.396 GB, free: 11.45 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008471/0.3517, allocations: 0.6278 MB / 1.396 GB, free: 10.83 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3517, allocations: 4 kB / 1.396 GB, free: 10.82 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007984/0.3525, allocations: 267.8 kB / 1.397 GB, free: 10.56 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.001413/0.3539, allocations: 1.296 MB / 1.398 GB, free: 9.23 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.3552, allocations: 0.9053 MB / 1.399 GB, free: 8.289 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3552, allocations: 0 / 1.399 GB, free: 8.289 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.3559, allocations: 0.5038 MB / 1.399 GB, free: 7.746 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.3566, allocations: 179.1 kB / 1.4 GB, free: 7.574 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.3671, allocations: 7.878 MB / 1.407 GB, free: 15.16 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.3675, allocations: 392.5 kB / 1.408 GB, free: 14.75 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000399/0.3679, allocations: 149.9 kB / 1.408 GB, free: 14.6 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.3683, allocations: 283.3 kB / 1.408 GB, free: 14.32 MB / 1.107 GB Notification: Performance of SimCode: time 6.72e-07/0.3683, allocations: 0 / 1.408 GB, free: 14.32 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05956/0.4279, allocations: 19.15 MB / 1.427 GB, free: 11.55 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.66, allocations: 12.31 kB / 1.427 GB, free: 11.55 MB / 1.123 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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: 17.686393646057695]