Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001515/0.001515, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001734/0.001734, allocations: 219.1 kB / 23.03 MB, free: 4.945 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.331/3.331, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.001936/0.001936, allocations: 63.75 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3959, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.0052/0.4011, allocations: 2.596 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004829/0.4059, allocations: 2.617 MB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004583/0.4064, allocations: 11.88 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.4081, allocations: 486.1 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009202/0.409, allocations: 302.8 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.4104, allocations: 422.9 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002412/0.4128, allocations: 1.569 MB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000271/0.4131, allocations: 70.44 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.4142, allocations: 482.8 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.4152, allocations: 434.5 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.4154, allocations: 48 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.4158, allocations: 60 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005117/0.4163, allocations: 291.2 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007902/0.4171, allocations: 302.6 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.4185, allocations: 0.9263 MB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4185, allocations: 4 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4185, allocations: 0 / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.847e-05/0.4185, allocations: 0 / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00329/0.4218, allocations: 1.107 MB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.4219, allocations: 8.031 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.499e-05/0.4219, allocations: 8.688 kB / 1.338 GB, free: 5.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000118/0.422, allocations: 58.67 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004205/0.4225, allocations: 84.45 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.4239, allocations: 0.6266 MB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/0.4239, allocations: 24.88 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-05/0.424, allocations: 48.08 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.4248, allocations: 369.9 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.4248, allocations: 3.984 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.4248, allocations: 12 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.4248, allocations: 8 kB / 1.339 GB, free: 4.473 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.4254, allocations: 233.5 kB / 1.339 GB, free: 4.242 MB / 1.029 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.004478/0.4299, allocations: 1.803 MB / 1.341 GB, free: 2.371 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.431, allocations: 386.4 kB / 1.342 GB, free: 1.984 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.4312, allocations: 128.8 kB / 1.342 GB, free: 1.855 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.4312, allocations: 4 kB / 1.342 GB, free: 1.852 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.4313, allocations: 34.5 kB / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 3.066e-06/0.4313, allocations: 0 / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001284/0.4326, allocations: 487.5 kB / 1.342 GB, free: 1.324 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.4326, allocations: 51.41 kB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.4345, allocations: 0.9416 MB / 1.343 GB, free: 320 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.4345, allocations: 37.7 kB / 1.343 GB, free: 276 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004326/0.435, allocations: 293 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.4351, allocations: 83.31 kB / 1.344 GB, free: 15.89 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002683/0.4354, allocations: 122.3 kB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.4357, allocations: 382.5 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.4361, allocations: 237.1 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/0.4367, allocations: 0.5059 MB / 1.345 GB, free: 14.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.4378, allocations: 0.7024 MB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.358e-05/0.4378, allocations: 4 kB / 1.345 GB, free: 13.69 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001865/0.4397, allocations: 0.8142 MB / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.4397, allocations: 12 kB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/0.4398, allocations: 12 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003643/0.4401, allocations: 52.83 kB / 1.346 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.4407, allocations: 143.7 kB / 1.346 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.4427, allocations: 1.435 MB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.4438, allocations: 127.4 kB / 1.348 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.4438, allocations: 24 kB / 1.348 GB, free: 10.95 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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.0007006/0.4445, allocations: 345.9 kB / 1.348 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.4448, allocations: 63.58 kB / 1.348 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.445, allocations: 74.08 kB / 1.348 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.445, allocations: 4 kB / 1.348 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4451, allocations: 0 / 1.348 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4451, allocations: 3.984 kB / 1.348 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009609/0.446, allocations: 480.2 kB / 1.349 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.446, allocations: 4 kB / 1.349 GB, free: 9.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.4463, allocations: 43.95 kB / 1.349 GB, free: 9.895 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.4465, allocations: 44.77 kB / 1.349 GB, free: 9.848 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.4465, allocations: 15.98 kB / 1.349 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.4479, allocations: 1.404 MB / 1.35 GB, free: 8.309 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.4479, allocations: 15.91 kB / 1.35 GB, free: 8.293 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.449, allocations: 0.5604 MB / 1.351 GB, free: 7.715 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.4493, allocations: 131.5 kB / 1.351 GB, free: 7.586 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.4495, allocations: 12.09 kB / 1.351 GB, free: 7.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.45, allocations: 47.92 kB / 1.351 GB, free: 7.527 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.4501, allocations: 11.97 kB / 1.351 GB, free: 7.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.4501, allocations: 4 kB / 1.351 GB, free: 7.512 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00113/0.4512, allocations: 0.6668 MB / 1.352 GB, free: 6.848 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4512, allocations: 3.938 kB / 1.352 GB, free: 6.844 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007515/0.452, allocations: 191.8 kB / 1.352 GB, free: 6.656 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.001254/0.4532, allocations: 1.117 MB / 1.353 GB, free: 5.512 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.4543, allocations: 0.5672 MB / 1.354 GB, free: 4.934 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4543, allocations: 0 / 1.354 GB, free: 4.934 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.4546, allocations: 242.5 kB / 1.354 GB, free: 4.684 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/0.4555, allocations: 161.1 kB / 1.354 GB, free: 4.531 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.4658, allocations: 6.965 MB / 1.361 GB, free: 13.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.4664, allocations: 404.7 kB / 1.361 GB, free: 12.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.4668, allocations: 184.5 kB / 1.361 GB, free: 12.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.4672, allocations: 207.4 kB / 1.362 GB, free: 12.42 MB / 1.061 GB Notification: Performance of SimCode: time 1.422e-06/0.4672, allocations: 0 / 1.362 GB, free: 12.42 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04975/0.517, allocations: 15.26 MB / 1.376 GB, free: 13.55 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.82, allocations: 8.047 kB / 1.376 GB, free: 13.54 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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: 21.06638443900738]