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.001617/0.001617, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.002038/0.002038, allocations: 214.5 kB / 22.25 MB, free: 5.133 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8 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.168/3.168, allocations: 0.49 GB / 0.7951 GB, free: 33.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.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.002074/0.002074, allocations: 73.19 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3635, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004806/0.3683, allocations: 2.804 MB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004913/0.3732, allocations: 2.874 MB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000498/0.3737, allocations: 11.88 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.3756, allocations: 0.5058 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009717/0.3765, allocations: 296.9 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.3779, allocations: 415 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00252/0.3804, allocations: 1.575 MB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.3807, allocations: 70.42 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.3817, allocations: 490.7 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008605/0.3826, allocations: 434.5 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.3827, allocations: 48 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.3829, allocations: 56 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.3833, allocations: 291.2 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000517/0.3838, allocations: 378.1 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.385, allocations: 0.9185 MB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.385, allocations: 4 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.354e-06/0.385, allocations: 0 / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.385, allocations: 3.938 kB / 1.337 GB, free: 6.816 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.002568/0.3876, allocations: 1.107 MB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3877, allocations: 8.031 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/0.3877, allocations: 54.73 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.388, allocations: 84.41 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3893, allocations: 0.6266 MB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.3893, allocations: 24.88 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/0.3894, allocations: 44.33 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006484/0.3901, allocations: 377.8 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.3901, allocations: 0 / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.3901, allocations: 12 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3901, allocations: 4 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.3905, allocations: 245.4 kB / 1.339 GB, free: 4.16 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.004684/0.3952, allocations: 2.424 MB / 1.342 GB, free: 1.551 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.3963, allocations: 386.5 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.3965, allocations: 122.5 kB / 1.342 GB, free: 1.043 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.3965, allocations: 11.98 kB / 1.342 GB, free: 1.031 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3966, allocations: 38.5 kB / 1.342 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.983e-06/0.3966, allocations: 0 / 1.342 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001187/0.3978, allocations: 478 kB / 1.343 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.3978, allocations: 51.41 kB / 1.343 GB, free: 456 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.3992, allocations: 0.9416 MB / 1.344 GB, free: 15.49 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.3993, allocations: 33.7 kB / 1.344 GB, free: 15.45 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.3996, allocations: 304.7 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.3997, allocations: 83.31 kB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.3999, allocations: 130.3 kB / 1.344 GB, free: 14.94 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.4002, allocations: 378.7 kB / 1.344 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.4006, allocations: 241.1 kB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.4012, allocations: 0.5021 MB / 1.345 GB, free: 13.69 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/0.4021, allocations: 0.6975 MB / 1.346 GB, free: 12.87 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.4021, allocations: 4 kB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001489/0.4036, allocations: 0.8239 MB / 1.347 GB, free: 12.03 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.4036, allocations: 9.562 kB / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4037, allocations: 12 kB / 1.347 GB, free: 12.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002507/0.4039, allocations: 52.83 kB / 1.347 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.4044, allocations: 139.7 kB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.4059, allocations: 1.443 MB / 1.348 GB, free: 10.26 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00087/0.4068, allocations: 127.4 kB / 1.348 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.629e-05/0.4068, allocations: 24 kB / 1.348 GB, free: 10.11 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.0005195/0.4073, allocations: 338 kB / 1.349 GB, free: 9.773 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.4075, allocations: 67.52 kB / 1.349 GB, free: 9.707 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.4076, allocations: 65.94 kB / 1.349 GB, free: 9.637 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4076, allocations: 4 kB / 1.349 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4076, allocations: 0 / 1.349 GB, free: 9.633 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.4077, allocations: 11.98 kB / 1.349 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.4085, allocations: 0.5548 MB / 1.349 GB, free: 9.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.4085, allocations: 3.938 kB / 1.349 GB, free: 9.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.4088, allocations: 47.91 kB / 1.349 GB, free: 8.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001732/0.409, allocations: 44.81 kB / 1.35 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.409, allocations: 8 kB / 1.35 GB, free: 8.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.4104, allocations: 1.423 MB / 1.351 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4104, allocations: 4.156 kB / 1.351 GB, free: 7.371 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.4113, allocations: 0.5582 MB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.4117, allocations: 127.5 kB / 1.352 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.4117, allocations: 15.98 kB / 1.352 GB, free: 6.652 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.4121, allocations: 47.98 kB / 1.352 GB, free: 6.605 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.4122, allocations: 19.92 kB / 1.352 GB, free: 6.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.4122, allocations: 8 kB / 1.352 GB, free: 6.578 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00101/0.4132, allocations: 0.6629 MB / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4132, allocations: 0 / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007189/0.414, allocations: 187.8 kB / 1.352 GB, free: 5.734 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.001265/0.4152, allocations: 1.116 MB / 1.354 GB, free: 4.59 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.4163, allocations: 0.5612 MB / 1.354 GB, free: 4.016 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4163, allocations: 0 / 1.354 GB, free: 4.016 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.4166, allocations: 237.7 kB / 1.354 GB, free: 3.773 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.4175, allocations: 180.3 kB / 1.355 GB, free: 3.602 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.4275, allocations: 6.956 MB / 1.361 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/0.4283, allocations: 1.007 MB / 1.362 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005121/0.4288, allocations: 184.5 kB / 1.362 GB, free: 11.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.4292, allocations: 199.4 kB / 1.363 GB, free: 10.9 MB / 1.061 GB Notification: Performance of SimCode: time 6.72e-07/0.4292, allocations: 0 / 1.363 GB, free: 10.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05838/0.4875, allocations: 14.54 MB / 1.377 GB, free: 12.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.47, allocations: 3.516 kB / 1.377 GB, free: 12.62 MB / 1.076 GB " [Timeout remaining time 286] (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: 20.207345549948514]