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.001456/0.001456, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001709/0.001709, allocations: 214.5 kB / 22.24 MB, free: 4.859 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.309/1.309, allocations: 230.6 MB / 256 MB, free: 7.789 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.931/2.931, allocations: 0.5107 GB / 0.8158 GB, free: 17.73 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.00197/0.00197, allocations: 67.89 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3048, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.004767/0.3095, allocations: 3.442 MB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003899/0.3134, allocations: 2.415 MB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.3137, allocations: 23.81 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007497/0.3144, allocations: 242.4 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.3155, allocations: 0.5394 MB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3166, allocations: 0.5613 MB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.3182, allocations: 1.383 MB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.3184, allocations: 101.7 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.3189, allocations: 454.5 kB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006741/0.3196, allocations: 494.1 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-05/0.3197, allocations: 52 kB / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.3199, allocations: 71.98 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.3203, allocations: 382.9 kB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.3206, allocations: 374.2 kB / 1.374 GB, free: 3.496 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.3216, allocations: 0.9413 MB / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3216, allocations: 0 / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3216, allocations: 0 / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3217, allocations: 0 / 1.375 GB, free: 2.551 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.002237/0.3239, allocations: 1.216 MB / 1.376 GB, free: 1.297 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3239, allocations: 12.03 kB / 1.376 GB, free: 1.285 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.855e-05/0.324, allocations: 70.72 kB / 1.376 GB, free: 1.207 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.3243, allocations: 108.3 kB / 1.376 GB, free: 1.102 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.3254, allocations: 0.6065 MB / 1.376 GB, free: 484 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.3254, allocations: 41.03 kB / 1.377 GB, free: 444 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.831e-05/0.3255, allocations: 60.12 kB / 1.377 GB, free: 384 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006066/0.3261, allocations: 395 kB / 1.377 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3261, allocations: 7.938 kB / 1.377 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.3262, allocations: 16 kB / 1.377 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3262, allocations: 12 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/0.3266, allocations: 222.3 kB / 1.377 GB, free: 15.7 MB / 1.076 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.002857/0.3294, allocations: 1.864 MB / 1.379 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.3307, allocations: 459.2 kB / 1.379 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.3309, allocations: 153.2 kB / 1.38 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3309, allocations: 4.234 kB / 1.38 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.331, allocations: 30.8 kB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.331, allocations: 0 / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.001923/0.3329, allocations: 1.068 MB / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3329, allocations: 59.41 kB / 1.381 GB, free: 11.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.3341, allocations: 0.931 MB / 1.382 GB, free: 10.99 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.3342, allocations: 41.7 kB / 1.382 GB, free: 10.94 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/0.3345, allocations: 365.2 kB / 1.382 GB, free: 10.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.3346, allocations: 126.9 kB / 1.382 GB, free: 10.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.3348, allocations: 170.6 kB / 1.382 GB, free: 10.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.335, allocations: 398.7 kB / 1.383 GB, free: 9.887 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.3354, allocations: 225.8 kB / 1.383 GB, free: 9.668 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000678/0.3361, allocations: 0.6196 MB / 1.384 GB, free: 8.863 MB / 1.076 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.002889/0.339, allocations: 1.618 MB / 1.385 GB, free: 7.051 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.339, allocations: 7.938 kB / 1.385 GB, free: 7.043 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001386/0.3404, allocations: 0.8963 MB / 1.386 GB, free: 6.137 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3404, allocations: 12 kB / 1.386 GB, free: 6.125 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.3404, allocations: 20 kB / 1.386 GB, free: 6.105 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.3406, allocations: 48.83 kB / 1.386 GB, free: 6.055 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.3412, allocations: 211.9 kB / 1.386 GB, free: 5.848 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.3425, allocations: 1.349 MB / 1.388 GB, free: 4.383 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.3431, allocations: 51.95 kB / 1.388 GB, free: 4.332 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.3432, allocations: 43.94 kB / 1.388 GB, free: 4.289 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.0004707/0.3437, allocations: 305.5 kB / 1.388 GB, free: 3.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3438, allocations: 87.38 kB / 1.388 GB, free: 3.895 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.3439, allocations: 72.53 kB / 1.388 GB, free: 3.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3439, allocations: 4 kB / 1.388 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3439, allocations: 0 / 1.388 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3439, allocations: 3.984 kB / 1.388 GB, free: 3.812 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.3458, allocations: 1.021 MB / 1.389 GB, free: 2.727 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.3458, allocations: 8.125 kB / 1.389 GB, free: 2.719 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.3462, allocations: 83.88 kB / 1.389 GB, free: 2.637 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.3463, allocations: 32.83 kB / 1.389 GB, free: 2.602 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.3463, allocations: 8 kB / 1.389 GB, free: 2.594 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.3475, allocations: 1.338 MB / 1.391 GB, free: 1.137 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3475, allocations: 0 / 1.391 GB, free: 1.137 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009919/0.3485, allocations: 0.6638 MB / 1.391 GB, free: 452 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.3488, allocations: 123.4 kB / 1.391 GB, free: 328 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.3489, allocations: 8 kB / 1.391 GB, free: 320 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.3493, allocations: 23.97 kB / 1.391 GB, free: 296 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.3494, allocations: 24.05 kB / 1.391 GB, free: 272 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3494, allocations: 12 kB / 1.391 GB, free: 260 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009143/0.3503, allocations: 0.6239 MB / 1.392 GB, free: 15.64 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.3503, allocations: 0 / 1.392 GB, free: 15.64 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007162/0.351, allocations: 207.9 kB / 1.392 GB, free: 15.43 MB / 1.092 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.001264/0.3523, allocations: 1.204 MB / 1.393 GB, free: 14.19 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.3535, allocations: 0.6248 MB / 1.394 GB, free: 13.55 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.3535, allocations: 0 / 1.394 GB, free: 13.55 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.3539, allocations: 259.8 kB / 1.394 GB, free: 13.29 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.3547, allocations: 187.8 kB / 1.394 GB, free: 13.11 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.3647, allocations: 7.442 MB / 1.402 GB, free: 5.109 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.3651, allocations: 400.2 kB / 1.402 GB, free: 4.691 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004515/0.3656, allocations: 153.8 kB / 1.402 GB, free: 4.539 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/0.366, allocations: 295.3 kB / 1.402 GB, free: 4.254 MB / 1.092 GB Notification: Performance of SimCode: time 1.092e-06/0.366, allocations: 0 / 1.402 GB, free: 4.254 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05154/0.4175, allocations: 17.77 MB / 1.42 GB, free: 2.852 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.5, allocations: 4.062 kB / 1.42 GB, free: 2.848 MB / 1.107 GB " [Timeout remaining time 288] (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: 17.503991639241576]