Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001423/0.001423, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001674/0.001674, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.349/1.349, allocations: 230.6 MB / 256 MB, free: 8.023 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.049/3.049, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_latest_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.001951/0.001951, allocations: 74.89 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3507, allocations: 180.2 MB / 1.353 GB, free: 8.539 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004825/0.3555, allocations: 2.784 MB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004504/0.36, allocations: 2.877 MB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.3603, allocations: 11.88 kB / 1.358 GB, free: 2.836 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.3618, allocations: 0.5097 MB / 1.359 GB, free: 2.324 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006808/0.3625, allocations: 294.8 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009953/0.3635, allocations: 411 kB / 1.36 GB, free: 1.633 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002054/0.3656, allocations: 1.58 MB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.3658, allocations: 74.5 kB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008298/0.3666, allocations: 478.8 kB / 1.362 GB, free: 15.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007792/0.3674, allocations: 434.4 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.3675, allocations: 52 kB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.3677, allocations: 60 kB / 1.362 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.368, allocations: 291.2 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.3685, allocations: 374.2 kB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3696, allocations: 0.9263 MB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.3696, allocations: 0 / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3696, allocations: 0 / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.3696, allocations: 0 / 1.364 GB, free: 13.38 MB / 1.061 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.002324/0.3719, allocations: 1.111 MB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.372, allocations: 12.02 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.398e-05/0.372, allocations: 54.73 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.3723, allocations: 84.42 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.3734, allocations: 0.6304 MB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.3735, allocations: 28.88 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.3736, allocations: 40.38 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.3742, allocations: 373.8 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3742, allocations: 4 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.3742, allocations: 16 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3742, allocations: 7.938 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.3747, allocations: 233.5 kB / 1.366 GB, free: 10.71 MB / 1.061 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.003843/0.3785, allocations: 2.424 MB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009892/0.3795, allocations: 394.4 kB / 1.369 GB, free: 7.711 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.3797, allocations: 132.7 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3797, allocations: 4 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3798, allocations: 38.56 kB / 1.369 GB, free: 7.527 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.3798, allocations: 0 / 1.369 GB, free: 7.527 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0009994/0.3808, allocations: 471.9 kB / 1.37 GB, free: 7.059 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.3808, allocations: 55.39 kB / 1.37 GB, free: 6.992 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.3822, allocations: 0.9376 MB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.3822, allocations: 33.7 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.3825, allocations: 304.8 kB / 1.371 GB, free: 5.703 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.3826, allocations: 75.36 kB / 1.371 GB, free: 5.629 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.3828, allocations: 130.3 kB / 1.371 GB, free: 5.496 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.383, allocations: 382.7 kB / 1.371 GB, free: 5.113 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.3834, allocations: 241.1 kB / 1.372 GB, free: 4.875 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/0.384, allocations: 0.5021 MB / 1.372 GB, free: 4.246 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/0.3849, allocations: 0.6956 MB / 1.373 GB, free: 3.422 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.3849, allocations: 4 kB / 1.373 GB, free: 3.418 MB / 1.061 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001305/0.3862, allocations: 0.8235 MB / 1.374 GB, free: 2.586 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3862, allocations: 8 kB / 1.374 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.3863, allocations: 12 kB / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.3865, allocations: 48.83 kB / 1.374 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.3869, allocations: 139.8 kB / 1.374 GB, free: 2.379 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.3883, allocations: 1.435 MB / 1.375 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.389, allocations: 127.5 kB / 1.375 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.3891, allocations: 28 kB / 1.375 GB, free: 0.6758 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.0004089/0.3895, allocations: 345.3 kB / 1.376 GB, free: 336 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3896, allocations: 67.52 kB / 1.376 GB, free: 268 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.3897, allocations: 65.94 kB / 1.376 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3897, allocations: 4 kB / 1.376 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3897, allocations: 0 / 1.376 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3897, allocations: 0 / 1.376 GB, free: 188 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.3905, allocations: 0.5509 MB / 1.376 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3905, allocations: 7.938 kB / 1.376 GB, free: 15.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.3907, allocations: 55.95 kB / 1.376 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.3909, allocations: 40.81 kB / 1.376 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.3909, allocations: 8 kB / 1.376 GB, free: 15.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.3921, allocations: 1.423 MB / 1.378 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3921, allocations: 7.875 kB / 1.378 GB, free: 13.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.393, allocations: 0.5777 MB / 1.378 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.3933, allocations: 127.5 kB / 1.379 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/0.3933, allocations: 12 kB / 1.379 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.3938, allocations: 51.84 kB / 1.379 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.3938, allocations: 7.984 kB / 1.379 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.3938, allocations: 4 kB / 1.379 GB, free: 13.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009323/0.3947, allocations: 0.6707 MB / 1.379 GB, free: 12.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3947, allocations: 0 / 1.379 GB, free: 12.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006327/0.3954, allocations: 183.9 kB / 1.379 GB, free: 12.29 MB / 1.076 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.001175/0.3965, allocations: 1.115 MB / 1.381 GB, free: 11.15 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009528/0.3975, allocations: 0.5643 MB / 1.381 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3975, allocations: 4 kB / 1.381 GB, free: 10.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.3978, allocations: 242.4 kB / 1.381 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007774/0.3986, allocations: 176 kB / 1.381 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/0.4085, allocations: 6.948 MB / 1.388 GB, free: 2.859 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/0.4093, allocations: 1.007 MB / 1.389 GB, free: 1.824 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004238/0.4097, allocations: 180.5 kB / 1.389 GB, free: 1.648 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.4101, allocations: 207.4 kB / 1.39 GB, free: 1.445 MB / 1.076 GB Notification: Performance of SimCode: time 9.52e-07/0.4101, allocations: 0 / 1.39 GB, free: 1.445 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05095/0.461, allocations: 14.54 MB / 1.404 GB, free: 3.16 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.09, allocations: 5.781 kB / 1.404 GB, free: 3.156 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.394426193088293]