Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00133/0.00133, allocations: 113.7 kB / 19.73 MB, free: 2.227 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.001393/0.001393, allocations: 217.6 kB / 23.04 MB, free: 5.066 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.255/3.255, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.001968/0.001968, allocations: 65.94 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 179 MB / 1.345 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004128/0.3635, allocations: 2.797 MB / 1.348 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004174/0.3677, allocations: 2.87 MB / 1.351 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.3679, allocations: 11.88 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.3694, allocations: 0.502 MB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006143/0.37, allocations: 302.8 kB / 1.352 GB, free: 9.992 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009788/0.371, allocations: 424 kB / 1.352 GB, free: 9.578 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.3729, allocations: 1.571 MB / 1.354 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.3731, allocations: 77.66 kB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007358/0.3738, allocations: 486.8 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.3745, allocations: 430.5 kB / 1.355 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.282e-05/0.3746, allocations: 48 kB / 1.355 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.3747, allocations: 60 kB / 1.355 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.375, allocations: 295.1 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003729/0.3754, allocations: 366.2 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009912/0.3764, allocations: 0.9302 MB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.3764, allocations: 0 / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3764, allocations: 0 / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.3764, allocations: 0 / 1.356 GB, free: 5.34 MB / 1.045 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.002145/0.3786, allocations: 1.111 MB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3786, allocations: 8.031 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.852e-05/0.3786, allocations: 12.62 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.3787, allocations: 62.67 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.3789, allocations: 88.41 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.38, allocations: 0.6149 MB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.38, allocations: 28.88 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.3801, allocations: 48.11 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005651/0.3806, allocations: 373.9 kB / 1.358 GB, free: 2.91 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3806, allocations: 4 kB / 1.358 GB, free: 2.906 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.3807, allocations: 7.938 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3807, allocations: 8 kB / 1.358 GB, free: 2.891 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.3811, allocations: 233.5 kB / 1.359 GB, free: 2.66 MB / 1.045 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.003744/0.3848, allocations: 2.428 MB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3858, allocations: 394.5 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.386, allocations: 128.8 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3861, allocations: 8 kB / 1.362 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.3861, allocations: 34.5 kB / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.603e-06/0.3861, allocations: 0 / 1.362 GB, free: 15.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009641/0.387, allocations: 470 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3871, allocations: 55.41 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.3883, allocations: 0.9415 MB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3883, allocations: 37.7 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.3886, allocations: 304.7 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.3887, allocations: 71.36 kB / 1.363 GB, free: 13.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.3889, allocations: 126.3 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.389, allocations: 382.7 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.3894, allocations: 241.1 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.39, allocations: 0.5022 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000836/0.3908, allocations: 0.6985 MB / 1.365 GB, free: 11.37 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3908, allocations: 0 / 1.365 GB, free: 11.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001286/0.3921, allocations: 0.8207 MB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.3921, allocations: 9.406 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3921, allocations: 8 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.3923, allocations: 52.81 kB / 1.366 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004661/0.3928, allocations: 139.8 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.3941, allocations: 1.435 MB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/0.3948, allocations: 135.4 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.3949, allocations: 28 kB / 1.368 GB, free: 8.621 MB / 1.061 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.0004016/0.3953, allocations: 337.4 kB / 1.368 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3954, allocations: 75.5 kB / 1.368 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.3955, allocations: 65.94 kB / 1.368 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3955, allocations: 3.938 kB / 1.368 GB, free: 8.133 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3955, allocations: 4 kB / 1.368 GB, free: 8.129 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3955, allocations: 4 kB / 1.368 GB, free: 8.125 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/0.3962, allocations: 0.5547 MB / 1.369 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3962, allocations: 0 / 1.369 GB, free: 7.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.3965, allocations: 51.95 kB / 1.369 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.3966, allocations: 40.77 kB / 1.369 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.3966, allocations: 11.98 kB / 1.369 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.3978, allocations: 1.412 MB / 1.37 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.3978, allocations: 12.03 kB / 1.37 GB, free: 5.883 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.3986, allocations: 0.5636 MB / 1.371 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.3989, allocations: 127.5 kB / 1.371 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.3989, allocations: 15.92 kB / 1.371 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/0.3994, allocations: 47.92 kB / 1.371 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.3994, allocations: 15.97 kB / 1.371 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3994, allocations: 4.125 kB / 1.371 GB, free: 5.094 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008614/0.4003, allocations: 0.6629 MB / 1.372 GB, free: 4.438 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4003, allocations: 3.938 kB / 1.372 GB, free: 4.434 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006328/0.4009, allocations: 183.9 kB / 1.372 GB, free: 4.254 MB / 1.061 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.001098/0.402, allocations: 1.126 MB / 1.373 GB, free: 3.098 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009523/0.403, allocations: 0.5557 MB / 1.374 GB, free: 2.531 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.403, allocations: 0 / 1.374 GB, free: 2.531 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.4034, allocations: 252.2 kB / 1.374 GB, free: 2.273 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008464/0.4042, allocations: 169.8 kB / 1.374 GB, free: 2.109 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/0.4136, allocations: 6.949 MB / 1.381 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.4142, allocations: 1.007 MB / 1.382 GB, free: 9.789 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004801/0.4147, allocations: 184.5 kB / 1.382 GB, free: 9.605 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.4151, allocations: 207.4 kB / 1.382 GB, free: 9.402 MB / 1.076 GB Notification: Performance of SimCode: time 1.152e-06/0.4151, allocations: 0 / 1.382 GB, free: 9.402 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04532/0.4604, allocations: 14.58 MB / 1.396 GB, free: 11.09 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.43, allocations: 4.062 kB / 1.396 GB, free: 11.09 MB / 1.092 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.50585424201563]