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.001873/0.001873, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002513/0.002513, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.996 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.243/3.243, allocations: 0.49 GB / 0.7951 GB, free: 33.49 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.002257/0.002257, allocations: 63.66 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3684, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.005106/0.3735, allocations: 2.794 MB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004974/0.3785, allocations: 2.877 MB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.3789, allocations: 11.94 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.3806, allocations: 0.5058 MB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008589/0.3815, allocations: 294.8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3828, allocations: 426.9 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.3852, allocations: 1.567 MB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.3854, allocations: 74.41 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009476/0.3864, allocations: 486.8 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008469/0.3872, allocations: 426.5 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.3873, allocations: 48 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.3876, allocations: 59.98 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.3879, allocations: 291.1 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005637/0.3885, allocations: 382.2 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3897, allocations: 0.9224 MB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.3897, allocations: 4 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3897, allocations: 0 / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.603e-05/0.3898, allocations: 0 / 1.337 GB, free: 6.793 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.002923/0.3927, allocations: 1.1 MB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.3927, allocations: 8.031 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.3928, allocations: 70.66 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.3931, allocations: 84.47 kB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.3945, allocations: 0.6149 MB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.3945, allocations: 28.88 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.3946, allocations: 48.27 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.3953, allocations: 369.9 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3953, allocations: 0 / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.3953, allocations: 12 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.3953, allocations: 11.94 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000438/0.3958, allocations: 241.5 kB / 1.339 GB, free: 4.137 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.004633/0.4004, allocations: 2.424 MB / 1.342 GB, free: 1.527 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.4015, allocations: 394.4 kB / 1.342 GB, free: 1.133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.4018, allocations: 128.8 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.4018, allocations: 0 / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.4018, allocations: 34.56 kB / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 2.064e-06/0.4018, allocations: 0 / 1.342 GB, free: 0.9609 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.00113/0.4029, allocations: 480 kB / 1.343 GB, free: 496 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.403, allocations: 59.34 kB / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.4046, allocations: 0.9377 MB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.999e-05/0.4047, allocations: 37.7 kB / 1.344 GB, free: 15.42 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.405, allocations: 304.7 kB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4051, allocations: 75.31 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.4053, allocations: 130.3 kB / 1.344 GB, free: 14.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000272/0.4056, allocations: 386.7 kB / 1.344 GB, free: 14.53 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.406, allocations: 237.1 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.4066, allocations: 0.4982 MB / 1.345 GB, free: 13.67 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000993/0.4076, allocations: 0.7001 MB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.4076, allocations: 4 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001539/0.4092, allocations: 0.8175 MB / 1.347 GB, free: 12.01 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.4092, allocations: 8.812 kB / 1.347 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.4092, allocations: 8 kB / 1.347 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.4095, allocations: 52.83 kB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.4101, allocations: 147.7 kB / 1.347 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.4117, allocations: 1.431 MB / 1.348 GB, free: 10.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009339/0.4126, allocations: 131.4 kB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/0.4127, allocations: 28 kB / 1.348 GB, free: 10.09 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.0005511/0.4132, allocations: 338.1 kB / 1.349 GB, free: 9.75 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.4135, allocations: 63.52 kB / 1.349 GB, free: 9.688 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.4136, allocations: 77.88 kB / 1.349 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4136, allocations: 0 / 1.349 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4137, allocations: 3.938 kB / 1.349 GB, free: 9.602 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4137, allocations: 4 kB / 1.349 GB, free: 9.598 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009548/0.4146, allocations: 0.5547 MB / 1.349 GB, free: 9 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4146, allocations: 3.938 kB / 1.349 GB, free: 8.996 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.4149, allocations: 47.89 kB / 1.349 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.4151, allocations: 48.81 kB / 1.35 GB, free: 8.898 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.4151, allocations: 8 kB / 1.35 GB, free: 8.891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001519/0.4166, allocations: 1.423 MB / 1.351 GB, free: 7.348 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4166, allocations: 0 / 1.351 GB, free: 7.348 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.4177, allocations: 0.5737 MB / 1.351 GB, free: 6.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.4181, allocations: 131.5 kB / 1.352 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.4183, allocations: 12 kB / 1.352 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.4187, allocations: 47.86 kB / 1.352 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.4188, allocations: 15.97 kB / 1.352 GB, free: 6.555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.4188, allocations: 4 kB / 1.352 GB, free: 6.551 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001169/0.42, allocations: 0.6629 MB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.42, allocations: 0 / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008285/0.4208, allocations: 183.8 kB / 1.353 GB, free: 5.711 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.001336/0.4221, allocations: 1.116 MB / 1.354 GB, free: 4.566 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.4232, allocations: 0.5629 MB / 1.354 GB, free: 3.992 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4232, allocations: 4.125 kB / 1.354 GB, free: 3.988 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.4236, allocations: 242.5 kB / 1.354 GB, free: 3.738 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4246, allocations: 165.7 kB / 1.355 GB, free: 3.582 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.4362, allocations: 6.957 MB / 1.361 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008824/0.4371, allocations: 1.007 MB / 1.362 GB, free: 11.25 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000528/0.4376, allocations: 176.5 kB / 1.362 GB, free: 11.08 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.438, allocations: 211.4 kB / 1.363 GB, free: 10.87 MB / 1.061 GB Notification: Performance of SimCode: time 1.422e-06/0.438, allocations: 4 kB / 1.363 GB, free: 10.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05508/0.4931, allocations: 14.53 MB / 1.377 GB, free: 12.6 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.33, allocations: 5.125 kB / 1.377 GB, free: 12.59 MB / 1.076 GB " [Timeout remaining time 287] (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: 20.261206584982574]