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.001328/0.001328, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001558/0.001558, allocations: 219 kB / 23.04 MB, free: 5.074 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.186/3.186, allocations: 0.49 GB / 0.7959 GB, free: 33.63 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.002006/0.002006, allocations: 62.89 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005997/0.3499, allocations: 4.415 MB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005544/0.3554, allocations: 3.046 MB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006788/0.3561, allocations: 27.75 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.3572, allocations: 361.7 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.3588, allocations: 0.7078 MB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.3604, allocations: 0.666 MB / 1.336 GB, free: 8.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002516/0.3629, allocations: 1.91 MB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.3632, allocations: 118.3 kB / 1.338 GB, free: 6.684 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.3643, allocations: 0.6113 MB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.3654, allocations: 0.7123 MB / 1.339 GB, free: 5.355 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.3655, allocations: 84 kB / 1.339 GB, free: 5.273 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008629/0.3664, allocations: 439.4 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005876/0.367, allocations: 490.5 kB / 1.34 GB, free: 4.363 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.3676, allocations: 0.6062 MB / 1.34 GB, free: 3.754 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.3695, allocations: 1.494 MB / 1.342 GB, free: 2.254 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3695, allocations: 0 / 1.342 GB, free: 2.254 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3695, allocations: 0 / 1.342 GB, free: 2.254 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.3695, allocations: 0 / 1.342 GB, free: 2.254 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.003439/0.3729, allocations: 1.61 MB / 1.343 GB, free: 0.6055 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.373, allocations: 8.031 kB / 1.343 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.601e-05/0.373, allocations: 13.19 kB / 1.344 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.3731, allocations: 78.72 kB / 1.344 GB, free: 0.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/0.3735, allocations: 152 kB / 1.344 GB, free: 360 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.375, allocations: 0.7819 MB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.375, allocations: 49.38 kB / 1.345 GB, free: 15.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.3751, allocations: 72.02 kB / 1.345 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009647/0.3761, allocations: 0.606 MB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3761, allocations: 3.938 kB / 1.345 GB, free: 14.78 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.3762, allocations: 16 kB / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.3762, allocations: 8 kB / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008312/0.377, allocations: 0.566 MB / 1.346 GB, free: 14.2 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.005103/0.3821, allocations: 3.248 MB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.3836, allocations: 0.8166 MB / 1.35 GB, free: 9.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005167/0.3842, allocations: 347.3 kB / 1.35 GB, free: 9.539 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/0.3842, allocations: 20.36 kB / 1.35 GB, free: 9.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.3843, allocations: 38.94 kB / 1.35 GB, free: 9.473 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/0.3843, allocations: 0 / 1.35 GB, free: 9.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.002016/0.3863, allocations: 1.111 MB / 1.351 GB, free: 8.352 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3863, allocations: 55.41 kB / 1.351 GB, free: 8.285 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.3881, allocations: 1.243 MB / 1.352 GB, free: 7.031 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.3881, allocations: 41.7 kB / 1.353 GB, free: 6.984 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.3886, allocations: 469.3 kB / 1.353 GB, free: 6.52 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.3887, allocations: 182.5 kB / 1.353 GB, free: 6.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.389, allocations: 210.5 kB / 1.353 GB, free: 6.129 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3892, allocations: 361.9 kB / 1.354 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008518/0.3901, allocations: 0.6426 MB / 1.354 GB, free: 5.129 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.3912, allocations: 0.9669 MB / 1.355 GB, free: 4.023 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.3931, allocations: 1.582 MB / 1.357 GB, free: 2.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3931, allocations: 4 kB / 1.357 GB, free: 2.289 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00254/0.3957, allocations: 1.783 MB / 1.359 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/0.3957, allocations: 18.52 kB / 1.359 GB, free: 488 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/0.3958, allocations: 12 kB / 1.359 GB, free: 476 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002213/0.396, allocations: 44.84 kB / 1.359 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.3971, allocations: 267.6 kB / 1.359 GB, free: 160 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004797/0.4019, allocations: 6.737 MB / 1.365 GB, free: 9.121 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.4031, allocations: 147.1 kB / 1.366 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.4031, allocations: 36 kB / 1.366 GB, free: 8.941 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.0004658/0.4036, allocations: 302 kB / 1.366 GB, free: 8.637 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4038, allocations: 119.1 kB / 1.366 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.4051, allocations: 0.8466 MB / 1.367 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4051, allocations: 4 kB / 1.367 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4051, allocations: 0 / 1.367 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4051, allocations: 0 / 1.367 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.4062, allocations: 0.8947 MB / 1.368 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4062, allocations: 0 / 1.368 GB, free: 6.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.4068, allocations: 115.8 kB / 1.368 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.4069, allocations: 32.83 kB / 1.368 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.407, allocations: 15.98 kB / 1.368 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.4082, allocations: 1.338 MB / 1.369 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4082, allocations: 3.984 kB / 1.369 GB, free: 5.102 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.41, allocations: 1.374 MB / 1.371 GB, free: 3.711 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.4105, allocations: 199.1 kB / 1.371 GB, free: 3.516 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.4106, allocations: 15.98 kB / 1.371 GB, free: 3.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.4112, allocations: 31.95 kB / 1.371 GB, free: 3.469 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/0.4113, allocations: 23.95 kB / 1.371 GB, free: 3.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.4114, allocations: 19.98 kB / 1.371 GB, free: 3.426 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001288/0.4127, allocations: 0.8233 MB / 1.372 GB, free: 2.598 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4127, allocations: 0 / 1.372 GB, free: 2.598 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001239/0.4139, allocations: 371.6 kB / 1.372 GB, free: 2.234 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.002656/0.4166, allocations: 2.096 MB / 1.374 GB, free: 108 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002781/0.4193, allocations: 1.384 MB / 1.375 GB, free: 14.69 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4193, allocations: 1.812 kB / 1.375 GB, free: 14.69 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.42, allocations: 466 kB / 1.376 GB, free: 14.22 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.4212, allocations: 226.6 kB / 1.376 GB, free: 14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.437, allocations: 11.61 MB / 1.387 GB, free: 1.977 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008003/0.4378, allocations: 1.094 MB / 1.388 GB, free: 0.8555 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005932/0.4384, allocations: 215.1 kB / 1.389 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.4389, allocations: 391.3 kB / 1.389 GB, free: 264 kB / 1.076 GB Notification: Performance of SimCode: time 6.21e-07/0.4389, allocations: 0 / 1.389 GB, free: 264 kB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06013/0.499, allocations: 24.93 MB / 1.413 GB, free: 7.676 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.42, allocations: 14.11 kB / 1.413 GB, free: 7.664 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: 23.498627731984016]