Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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: 97.31 kB / 19.73 MB, free: 2.117 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.001928/0.001928, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.347/3.347, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.ConductorSingleLayerPCM,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.00194/0.00194, allocations: 64.8 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3809, allocations: 176.1 MB / 1.327 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006187/0.3871, allocations: 3.96 MB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005509/0.3926, allocations: 2.84 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008753/0.3935, allocations: 31.75 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.395, allocations: 345.8 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/0.3973, allocations: 0.7195 MB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.3994, allocations: 0.6627 MB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003151/0.4025, allocations: 1.907 MB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.403, allocations: 122.3 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.4043, allocations: 0.6191 MB / 1.338 GB, free: 6.285 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.4058, allocations: 0.7123 MB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002858/0.406, allocations: 80 kB / 1.338 GB, free: 5.492 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.4072, allocations: 419.4 kB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007503/0.4079, allocations: 486.6 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009834/0.4089, allocations: 0.4975 MB / 1.34 GB, free: 4.105 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.4112, allocations: 1.502 MB / 1.341 GB, free: 2.598 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4113, allocations: 4 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4113, allocations: 0 / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.909e-05/0.4113, allocations: 3.984 kB / 1.341 GB, free: 2.59 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.004361/0.4157, allocations: 1.606 MB / 1.343 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.4157, allocations: 8.031 kB / 1.343 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.626e-05/0.4158, allocations: 17.12 kB / 1.343 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001373/0.4159, allocations: 78.72 kB / 1.343 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.4165, allocations: 160 kB / 1.343 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.4185, allocations: 0.7743 MB / 1.344 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.645e-05/0.4185, allocations: 49.31 kB / 1.344 GB, free: 15.82 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.4187, allocations: 72.06 kB / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.4197, allocations: 0.6099 MB / 1.344 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.4197, allocations: 4 kB / 1.344 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.4198, allocations: 16 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.4198, allocations: 8 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.4207, allocations: 0.566 MB / 1.345 GB, free: 14.52 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.005501/0.4262, allocations: 2.29 MB / 1.347 GB, free: 12.17 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.4278, allocations: 0.8243 MB / 1.348 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005332/0.4284, allocations: 343.9 kB / 1.348 GB, free: 11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-05/0.4284, allocations: 24.36 kB / 1.348 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.4285, allocations: 38.94 kB / 1.348 GB, free: 10.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 2.856e-06/0.4285, allocations: 0 / 1.348 GB, free: 10.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.002214/0.4307, allocations: 1.111 MB / 1.349 GB, free: 9.809 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.4308, allocations: 59.41 kB / 1.35 GB, free: 9.738 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.433, allocations: 1.235 MB / 1.351 GB, free: 8.492 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.4332, allocations: 41.7 kB / 1.351 GB, free: 8.445 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005332/0.4337, allocations: 465.2 kB / 1.351 GB, free: 7.984 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.434, allocations: 182.5 kB / 1.351 GB, free: 7.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/0.4344, allocations: 214.5 kB / 1.352 GB, free: 7.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4346, allocations: 353.9 kB / 1.352 GB, free: 7.238 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.4355, allocations: 0.6426 MB / 1.353 GB, free: 6.598 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.4367, allocations: 0.9747 MB / 1.354 GB, free: 5.484 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.4388, allocations: 1.578 MB / 1.355 GB, free: 3.758 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/0.4389, allocations: 4 kB / 1.355 GB, free: 3.754 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003067/0.4419, allocations: 1.784 MB / 1.357 GB, free: 1.957 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.442, allocations: 18.25 kB / 1.357 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-05/0.442, allocations: 19.92 kB / 1.357 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.4423, allocations: 40.84 kB / 1.357 GB, free: 1.879 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.4436, allocations: 275.6 kB / 1.357 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/0.4487, allocations: 6.729 MB / 1.364 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.45, allocations: 135 kB / 1.364 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.4502, allocations: 40 kB / 1.364 GB, free: 10.41 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.000599/0.4508, allocations: 302 kB / 1.364 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.4511, allocations: 127.1 kB / 1.364 GB, free: 9.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.4526, allocations: 0.835 MB / 1.365 GB, free: 9.129 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4526, allocations: 8.094 kB / 1.365 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4526, allocations: 0 / 1.365 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.4526, allocations: 3.984 kB / 1.365 GB, free: 9.117 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.4539, allocations: 0.7428 MB / 1.366 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.4539, allocations: 0 / 1.366 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.4545, allocations: 111.8 kB / 1.366 GB, free: 8.227 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001667/0.4547, allocations: 36.72 kB / 1.366 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.4548, allocations: 23.98 kB / 1.366 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.456, allocations: 1.33 MB / 1.367 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.456, allocations: 0 / 1.367 GB, free: 6.723 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.4582, allocations: 1.374 MB / 1.369 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/0.4588, allocations: 195 kB / 1.369 GB, free: 5.141 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.459, allocations: 20.14 kB / 1.369 GB, free: 5.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007714/0.4598, allocations: 31.97 kB / 1.369 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.4599, allocations: 27.94 kB / 1.369 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.4599, allocations: 12 kB / 1.369 GB, free: 5.051 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001634/0.4616, allocations: 0.8311 MB / 1.37 GB, free: 4.215 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4616, allocations: 0 / 1.37 GB, free: 4.215 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001563/0.4631, allocations: 367.6 kB / 1.37 GB, free: 3.855 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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.003236/0.4664, allocations: 2.097 MB / 1.372 GB, free: 1.727 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003068/0.4694, allocations: 1.389 MB / 1.374 GB, free: 316 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4694, allocations: 0.75 kB / 1.374 GB, free: 316 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.4702, allocations: 470 kB / 1.374 GB, free: 15.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.4719, allocations: 222.5 kB / 1.374 GB, free: 15.62 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/0.493, allocations: 11.61 MB / 1.386 GB, free: 3.598 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.4936, allocations: 0.499 MB / 1.386 GB, free: 3.066 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006654/0.4943, allocations: 207.1 kB / 1.386 GB, free: 2.859 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.495, allocations: 403.3 kB / 1.387 GB, free: 2.465 MB / 1.076 GB Notification: Performance of SimCode: time 1.413e-06/0.495, allocations: 0 / 1.387 GB, free: 2.465 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06674/0.5617, allocations: 26.03 MB / 1.412 GB, free: 8.973 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/16.87, allocations: 8.047 kB / 1.412 GB, free: 8.965 MB / 1.107 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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: 24.024608482955955]