Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.001629/0.001629, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002285/0.002285, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.8 MB / 0.7715 GB, free: 3.875 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ConductorMultiLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.002046/0.002046, allocations: 68.83 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3948, allocations: 169.9 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.005338/0.4001, allocations: 2.609 MB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004905/0.405, allocations: 2.597 MB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.4055, allocations: 11.88 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.4073, allocations: 498.1 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009376/0.4082, allocations: 298.8 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.4096, allocations: 418.6 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.4119, allocations: 1.571 MB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002498/0.4121, allocations: 74.36 kB / 1.292 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009845/0.4131, allocations: 486.8 kB / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008997/0.414, allocations: 426.5 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.4142, allocations: 52 kB / 1.293 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.4145, allocations: 60 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.4149, allocations: 287.2 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005908/0.4155, allocations: 306.5 kB / 1.293 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.4167, allocations: 0.9341 MB / 1.294 GB, free: 32 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4167, allocations: 0 / 1.294 GB, free: 32 kB / 0.9825 GB Notification: Performance of FrontEnd: time 3.176e-06/0.4167, allocations: 3.984 kB / 1.294 GB, free: 28 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.415e-05/0.4167, allocations: 0 / 1.294 GB, free: 28 kB / 0.9825 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.002761/0.4195, allocations: 1.096 MB / 1.295 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4195, allocations: 16.03 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.65e-05/0.4196, allocations: 12.62 kB / 1.295 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.568e-05/0.4197, allocations: 62.72 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.42, allocations: 80.47 kB / 1.296 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.4213, allocations: 0.6227 MB / 1.296 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.4214, allocations: 28.81 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.4215, allocations: 44.12 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.4223, allocations: 373.9 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.4223, allocations: 0 / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.4223, allocations: 8 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.4224, allocations: 8 kB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005111/0.4229, allocations: 229.5 kB / 1.297 GB, free: 13.38 MB / 0.9981 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.004404/0.4273, allocations: 1.815 MB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.4284, allocations: 386.4 kB / 1.299 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.4287, allocations: 128.8 kB / 1.299 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.4287, allocations: 4 kB / 1.299 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.4287, allocations: 34.55 kB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 4.298e-06/0.4287, allocations: 7.938 kB / 1.299 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.001247/0.43, allocations: 468.1 kB / 1.3 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.4301, allocations: 55.41 kB / 1.3 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.4318, allocations: 0.9415 MB / 1.301 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.437e-05/0.4319, allocations: 37.7 kB / 1.301 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.4322, allocations: 300.8 kB / 1.301 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.4324, allocations: 75.31 kB / 1.301 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.4326, allocations: 122.3 kB / 1.301 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.4328, allocations: 386.7 kB / 1.301 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.4332, allocations: 245 kB / 1.302 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.4338, allocations: 0.4984 MB / 1.302 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009768/0.4348, allocations: 0.7012 MB / 1.303 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.4348, allocations: 0 / 1.303 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001469/0.4363, allocations: 0.8221 MB / 1.304 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4363, allocations: 8 kB / 1.304 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.4363, allocations: 8 kB / 1.304 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/0.4366, allocations: 48.83 kB / 1.304 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.4371, allocations: 147.7 kB / 1.304 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.4386, allocations: 1.431 MB / 1.305 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.4394, allocations: 139.3 kB / 1.305 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.042e-05/0.4395, allocations: 28 kB / 1.305 GB, free: 4.062 MB / 0.9981 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.0005027/0.44, allocations: 344.6 kB / 1.306 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.4401, allocations: 67.52 kB / 1.306 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.4403, allocations: 69.94 kB / 1.306 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.4403, allocations: 0 / 1.306 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4403, allocations: 4.094 kB / 1.306 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.4403, allocations: 0 / 1.306 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007742/0.4411, allocations: 484.2 kB / 1.306 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4411, allocations: 0 / 1.306 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.4413, allocations: 51.89 kB / 1.306 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.4415, allocations: 36.83 kB / 1.306 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.4415, allocations: 11.98 kB / 1.306 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.4428, allocations: 1.416 MB / 1.308 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4428, allocations: 3.938 kB / 1.308 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.4437, allocations: 0.5684 MB / 1.308 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.4441, allocations: 131.5 kB / 1.309 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.4442, allocations: 7.938 kB / 1.309 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.4446, allocations: 47.91 kB / 1.309 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.4447, allocations: 16.14 kB / 1.309 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.4447, allocations: 8 kB / 1.309 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001036/0.4457, allocations: 0.6629 MB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4457, allocations: 0 / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007535/0.4465, allocations: 187.8 kB / 1.309 GB, free: 15.79 MB / 1.014 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.001275/0.4478, allocations: 1.115 MB / 1.311 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.4489, allocations: 0.5589 MB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4489, allocations: 4.125 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.4493, allocations: 246.4 kB / 1.311 GB, free: 13.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.4502, allocations: 177.9 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.4612, allocations: 6.942 MB / 1.318 GB, free: 6.355 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.4617, allocations: 416.8 kB / 1.319 GB, free: 5.922 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004944/0.4622, allocations: 180.5 kB / 1.319 GB, free: 5.746 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.4625, allocations: 207.4 kB / 1.319 GB, free: 5.547 MB / 1.014 GB Notification: Performance of SimCode: time 1.603e-06/0.4625, allocations: 0 / 1.319 GB, free: 5.547 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05029/0.5128, allocations: 15.26 MB / 1.334 GB, free: 6.668 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.79, allocations: 7.312 kB / 1.334 GB, free: 6.664 MB / 1.029 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.86307791399304]