Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.001725/0.001725, allocations: 106.8 kB / 16.45 MB, free: 6.5 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.002084/0.002084, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.03/3.03, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.ConductorMultiLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.001987/0.001987, allocations: 75.8 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3648, allocations: 176.1 MB / 1.321 GB, free: 3.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004753/0.3695, allocations: 2.766 MB / 1.323 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004668/0.3742, allocations: 2.858 MB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.3745, allocations: 15.88 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.3761, allocations: 0.4903 MB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007237/0.3768, allocations: 262.8 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3779, allocations: 399 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002028/0.3799, allocations: 1.54 MB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.3802, allocations: 94.3 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008146/0.381, allocations: 478.9 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006306/0.3816, allocations: 410.5 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.102e-05/0.3817, allocations: 48 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.3819, allocations: 63.94 kB / 1.33 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.3822, allocations: 287.2 kB / 1.33 GB, free: 9.676 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.3826, allocations: 378.2 kB / 1.331 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3837, allocations: 0.9263 MB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3837, allocations: 4 kB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3837, allocations: 4 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3837, allocations: 0 / 1.331 GB, free: 8.367 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.002178/0.3859, allocations: 1.167 MB / 1.333 GB, free: 7.148 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.3859, allocations: 15.98 kB / 1.333 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.629e-05/0.386, allocations: 58.72 kB / 1.333 GB, free: 7.066 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.3862, allocations: 84.47 kB / 1.333 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.3873, allocations: 0.6843 MB / 1.333 GB, free: 6.262 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.3873, allocations: 32.94 kB / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.3874, allocations: 44.31 kB / 1.334 GB, free: 6.188 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.388, allocations: 374.6 kB / 1.334 GB, free: 5.797 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.388, allocations: 0 / 1.334 GB, free: 5.797 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.3881, allocations: 15.98 kB / 1.334 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3881, allocations: 8 kB / 1.334 GB, free: 5.773 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004125/0.3885, allocations: 233.5 kB / 1.334 GB, free: 5.539 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.003969/0.3925, allocations: 2.447 MB / 1.337 GB, free: 2.902 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.3935, allocations: 394.4 kB / 1.337 GB, free: 2.508 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.3937, allocations: 128.8 kB / 1.337 GB, free: 2.379 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.3937, allocations: 4 kB / 1.337 GB, free: 2.375 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.3937, allocations: 34.56 kB / 1.337 GB, free: 2.332 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/0.3937, allocations: 0 / 1.337 GB, free: 2.332 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001136/0.3949, allocations: 0.5421 MB / 1.338 GB, free: 1.762 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3949, allocations: 51.41 kB / 1.338 GB, free: 1.699 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.3962, allocations: 0.9376 MB / 1.339 GB, free: 0.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.3963, allocations: 33.7 kB / 1.339 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.3966, allocations: 300.8 kB / 1.339 GB, free: 424 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.439e-05/0.3967, allocations: 79.36 kB / 1.339 GB, free: 344 kB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.3968, allocations: 130.2 kB / 1.339 GB, free: 208 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3971, allocations: 382.7 kB / 1.339 GB, free: 15.82 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.3974, allocations: 236.9 kB / 1.34 GB, free: 15.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/0.398, allocations: 0.5051 MB / 1.34 GB, free: 14.95 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008982/0.3989, allocations: 0.6964 MB / 1.341 GB, free: 14.13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3989, allocations: 4 kB / 1.341 GB, free: 14.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001321/0.4003, allocations: 0.8116 MB / 1.342 GB, free: 13.3 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.4003, allocations: 14.66 kB / 1.342 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.4003, allocations: 15.98 kB / 1.342 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.4005, allocations: 56.83 kB / 1.342 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.401, allocations: 139.7 kB / 1.342 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.4025, allocations: 1.535 MB / 1.343 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.4032, allocations: 131.4 kB / 1.343 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.4032, allocations: 28 kB / 1.343 GB, free: 11.25 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.0004322/0.4037, allocations: 351 kB / 1.344 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.4038, allocations: 67.52 kB / 1.344 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.4039, allocations: 66 kB / 1.344 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4039, allocations: 4 kB / 1.344 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4039, allocations: 0 / 1.344 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4039, allocations: 0 / 1.344 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.4046, allocations: 0.583 MB / 1.345 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4046, allocations: 3.938 kB / 1.345 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.4049, allocations: 51.95 kB / 1.345 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.405, allocations: 40.83 kB / 1.345 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.405, allocations: 11.98 kB / 1.345 GB, free: 10.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.4064, allocations: 1.519 MB / 1.346 GB, free: 8.355 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4064, allocations: 0 / 1.346 GB, free: 8.355 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.4072, allocations: 0.5777 MB / 1.347 GB, free: 7.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.4075, allocations: 204.6 kB / 1.347 GB, free: 7.539 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.4076, allocations: 11.98 kB / 1.347 GB, free: 7.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.408, allocations: 43.86 kB / 1.347 GB, free: 7.484 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.408, allocations: 15.98 kB / 1.347 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.408, allocations: 4 kB / 1.347 GB, free: 7.465 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009083/0.4089, allocations: 0.6629 MB / 1.348 GB, free: 6.805 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4089, allocations: 0 / 1.348 GB, free: 6.805 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006497/0.4096, allocations: 187.9 kB / 1.348 GB, free: 6.621 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.001173/0.4108, allocations: 1.121 MB / 1.349 GB, free: 5.473 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009422/0.4117, allocations: 0.5552 MB / 1.349 GB, free: 4.906 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4117, allocations: 4.062 kB / 1.349 GB, free: 4.902 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.412, allocations: 246.4 kB / 1.35 GB, free: 4.648 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008008/0.4128, allocations: 173.1 kB / 1.35 GB, free: 4.488 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00942/0.4223, allocations: 6.942 MB / 1.357 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008147/0.4231, allocations: 1.01 MB / 1.358 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0004616/0.4235, allocations: 188.5 kB / 1.358 GB, free: 11.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.4239, allocations: 207.4 kB / 1.358 GB, free: 11.78 MB / 1.061 GB Notification: Performance of SimCode: time 1.262e-06/0.4239, allocations: 4 kB / 1.358 GB, free: 11.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04961/0.4735, allocations: 14.32 MB / 1.372 GB, free: 13.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.96, allocations: 18.38 kB / 1.372 GB, free: 13.69 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.292789168888703]