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.002241/0.002241, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002803/0.002803, allocations: 207.3 kB / 22.24 MB, free: 5.262 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.793 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.11/3.11, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 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.002115/0.002115, allocations: 67.86 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3809, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004432/0.3854, allocations: 2.601 MB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.3898, allocations: 2.605 MB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.3902, allocations: 15.88 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.3918, allocations: 486.2 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007529/0.3926, allocations: 294.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3937, allocations: 418.9 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002009/0.3957, allocations: 1.579 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.3959, allocations: 66.42 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007793/0.3967, allocations: 486.8 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.3974, allocations: 434.5 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.3974, allocations: 48 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.3976, allocations: 67.88 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.398, allocations: 291.2 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.3983, allocations: 306.6 kB / 1.334 GB, free: 8.723 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.3993, allocations: 0.9341 MB / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3993, allocations: 0 / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3993, allocations: 0 / 1.335 GB, free: 7.785 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.3993, allocations: 0 / 1.335 GB, free: 7.785 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.002261/0.4016, allocations: 1.103 MB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4016, allocations: 8.031 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.76e-05/0.4017, allocations: 58.73 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.4019, allocations: 80.47 kB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.4031, allocations: 0.6304 MB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.4032, allocations: 24.88 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.4032, allocations: 48.33 kB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006108/0.4039, allocations: 377.8 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4039, allocations: 4 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.4039, allocations: 4 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.4039, allocations: 8 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.4043, allocations: 241.5 kB / 1.338 GB, free: 5.129 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.003658/0.408, allocations: 1.799 MB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.409, allocations: 386.4 kB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.4093, allocations: 128.8 kB / 1.34 GB, free: 2.746 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.4093, allocations: 4 kB / 1.34 GB, free: 2.742 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.4093, allocations: 38.56 kB / 1.34 GB, free: 2.695 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.4093, allocations: 0 / 1.34 GB, free: 2.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001071/0.4104, allocations: 475.5 kB / 1.341 GB, free: 2.223 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.4104, allocations: 51.41 kB / 1.341 GB, free: 2.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.4118, allocations: 0.9415 MB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.4119, allocations: 37.7 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.4122, allocations: 304.8 kB / 1.342 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.4123, allocations: 75.34 kB / 1.342 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.4124, allocations: 134.3 kB / 1.342 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.4127, allocations: 386.7 kB / 1.342 GB, free: 272 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.413, allocations: 237.1 kB / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.4137, allocations: 0.5021 MB / 1.343 GB, free: 15.4 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/0.4146, allocations: 0.6975 MB / 1.344 GB, free: 14.58 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.4146, allocations: 0 / 1.344 GB, free: 14.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001473/0.4161, allocations: 0.8214 MB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.4161, allocations: 11.94 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.4161, allocations: 8.781 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002439/0.4163, allocations: 60.77 kB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.4169, allocations: 139.8 kB / 1.345 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.4184, allocations: 1.427 MB / 1.346 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/0.4192, allocations: 123.4 kB / 1.346 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.4193, allocations: 32.16 kB / 1.346 GB, free: 11.83 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.0005902/0.4199, allocations: 341.9 kB / 1.347 GB, free: 11.49 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.42, allocations: 63.52 kB / 1.347 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.4201, allocations: 73.94 kB / 1.347 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4202, allocations: 0 / 1.347 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4202, allocations: 0 / 1.347 GB, free: 11.35 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4202, allocations: 3.984 kB / 1.347 GB, free: 11.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.4208, allocations: 476.3 kB / 1.347 GB, free: 10.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.4209, allocations: 3.938 kB / 1.347 GB, free: 10.83 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.4211, allocations: 47.97 kB / 1.347 GB, free: 10.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/0.4212, allocations: 44.81 kB / 1.347 GB, free: 10.74 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.4213, allocations: 8 kB / 1.347 GB, free: 10.73 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.4226, allocations: 1.42 MB / 1.349 GB, free: 9.191 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4226, allocations: 4.156 kB / 1.349 GB, free: 9.188 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009049/0.4235, allocations: 0.5734 MB / 1.349 GB, free: 8.598 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/0.4239, allocations: 131.5 kB / 1.35 GB, free: 8.469 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.986e-05/0.4239, allocations: 11.98 kB / 1.35 GB, free: 8.457 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.4243, allocations: 43.86 kB / 1.35 GB, free: 8.414 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.4244, allocations: 19.97 kB / 1.35 GB, free: 8.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.4244, allocations: 3.938 kB / 1.35 GB, free: 8.391 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001004/0.4254, allocations: 0.6668 MB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4254, allocations: 0 / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0007584/0.4262, allocations: 183.9 kB / 1.35 GB, free: 7.547 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.001325/0.4275, allocations: 1.115 MB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.4287, allocations: 0.5627 MB / 1.352 GB, free: 5.828 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4287, allocations: 0 / 1.352 GB, free: 5.828 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.4291, allocations: 251.8 kB / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.4301, allocations: 173.9 kB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.4406, allocations: 6.953 MB / 1.359 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.4412, allocations: 408.8 kB / 1.36 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006207/0.4418, allocations: 188.5 kB / 1.36 GB, free: 13.51 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.4422, allocations: 207.4 kB / 1.36 GB, free: 13.3 MB / 1.061 GB Notification: Performance of SimCode: time 1.984e-06/0.4422, allocations: 0 / 1.36 GB, free: 13.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05736/0.4996, allocations: 15.63 MB / 1.375 GB, free: 14.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.46, allocations: 5.875 kB / 1.375 GB, free: 14.01 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.018540596123785]