Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001393/0.001393, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001762/0.001762, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.571/1.571, 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.348/3.348, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.ConductorMultiLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.002096/0.002096, allocations: 70.2 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3818, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004334/0.3861, allocations: 2.584 MB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.3904, allocations: 2.609 MB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002854/0.3907, allocations: 11.94 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.3923, allocations: 490.1 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.393, allocations: 302.8 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.3941, allocations: 423.9 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.396, allocations: 1.567 MB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.3962, allocations: 78.41 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007675/0.397, allocations: 482.8 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.3976, allocations: 426.5 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.592e-05/0.3977, allocations: 51.94 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.3979, allocations: 56 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.3982, allocations: 291.2 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003665/0.3986, allocations: 298.6 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3997, allocations: 0.9341 MB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3997, allocations: 0 / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3997, allocations: 0 / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.3997, allocations: 0 / 1.337 GB, free: 6.883 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.002282/0.402, allocations: 1.113 MB / 1.338 GB, free: 5.738 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.402, allocations: 8.031 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.658e-05/0.402, allocations: 12.67 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.4021, allocations: 54.73 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.4023, allocations: 80.47 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.4034, allocations: 0.6304 MB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.4034, allocations: 28.88 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.4035, allocations: 44.08 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.4041, allocations: 377.9 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4041, allocations: 3.938 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.4041, allocations: 12 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4041, allocations: 4 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.4045, allocations: 237.5 kB / 1.339 GB, free: 4.207 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.003543/0.4081, allocations: 1.795 MB / 1.341 GB, free: 2.344 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.4091, allocations: 394.3 kB / 1.342 GB, free: 1.949 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.4093, allocations: 130.3 kB / 1.342 GB, free: 1.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4093, allocations: 0 / 1.342 GB, free: 1.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.4094, allocations: 34.56 kB / 1.342 GB, free: 1.777 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.354e-06/0.4094, allocations: 4 kB / 1.342 GB, free: 1.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001047/0.4104, allocations: 477.9 kB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.4105, allocations: 55.41 kB / 1.342 GB, free: 1.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.4118, allocations: 0.9377 MB / 1.343 GB, free: 292 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.4118, allocations: 33.7 kB / 1.343 GB, free: 252 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.4121, allocations: 305 kB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.4122, allocations: 79.31 kB / 1.344 GB, free: 15.86 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.4124, allocations: 122.3 kB / 1.344 GB, free: 15.74 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4126, allocations: 378.5 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.4129, allocations: 241.1 kB / 1.344 GB, free: 15.13 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.4135, allocations: 0.506 MB / 1.345 GB, free: 14.49 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.4144, allocations: 0.6931 MB / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.4144, allocations: 4 kB / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001407/0.4158, allocations: 0.8146 MB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.4159, allocations: 9.875 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.4159, allocations: 12.75 kB / 1.346 GB, free: 12.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.4162, allocations: 64.75 kB / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.4167, allocations: 135.8 kB / 1.346 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.4185, allocations: 1.439 MB / 1.348 GB, free: 11.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.4195, allocations: 127.4 kB / 1.348 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.4196, allocations: 28.16 kB / 1.348 GB, free: 10.92 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.0006699/0.4203, allocations: 345.9 kB / 1.348 GB, free: 10.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.4204, allocations: 67.52 kB / 1.348 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.4206, allocations: 65.94 kB / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4206, allocations: 4 kB / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4206, allocations: 0 / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4206, allocations: 0 / 1.348 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009005/0.4215, allocations: 480.2 kB / 1.349 GB, free: 9.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4215, allocations: 0 / 1.349 GB, free: 9.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/0.4218, allocations: 51.95 kB / 1.349 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.422, allocations: 44.81 kB / 1.349 GB, free: 9.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.422, allocations: 11.94 kB / 1.349 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.4235, allocations: 1.412 MB / 1.35 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.4235, allocations: 4.094 kB / 1.35 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.4245, allocations: 0.566 MB / 1.351 GB, free: 7.688 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/0.4249, allocations: 127.5 kB / 1.351 GB, free: 7.562 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.425, allocations: 15.92 kB / 1.351 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.4254, allocations: 47.92 kB / 1.351 GB, free: 7.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/0.4255, allocations: 11.97 kB / 1.351 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.4255, allocations: 4 kB / 1.351 GB, free: 7.484 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001148/0.4267, allocations: 0.6668 MB / 1.352 GB, free: 6.82 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4267, allocations: 0 / 1.352 GB, free: 6.82 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009259/0.4276, allocations: 187.8 kB / 1.352 GB, free: 6.637 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.001358/0.429, allocations: 1.12 MB / 1.353 GB, free: 5.488 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.4303, allocations: 0.5734 MB / 1.354 GB, free: 4.906 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4303, allocations: 0 / 1.354 GB, free: 4.906 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.4307, allocations: 238.5 kB / 1.354 GB, free: 4.66 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4318, allocations: 169.9 kB / 1.354 GB, free: 4.5 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.4422, allocations: 6.956 MB / 1.361 GB, free: 13.2 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.4427, allocations: 408.8 kB / 1.361 GB, free: 12.78 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005352/0.4433, allocations: 188.5 kB / 1.361 GB, free: 12.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.4436, allocations: 203.4 kB / 1.362 GB, free: 12.39 MB / 1.061 GB Notification: Performance of SimCode: time 1.853e-06/0.4436, allocations: 0 / 1.362 GB, free: 12.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04728/0.4909, allocations: 15.26 MB / 1.376 GB, free: 13.51 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.52, allocations: 12.59 kB / 1.376 GB, free: 13.5 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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: 20.674248629948124]