Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001705/0.001705, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002054/0.002054, allocations: 212 kB / 20.13 MB, free: 2.949 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.611/1.611, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.921/2.921, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] 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.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_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.002004/0.002004, allocations: 60.19 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203/1.205, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.007351/1.213, allocations: 4.398 MB / 1.283 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006639/1.219, allocations: 3.023 MB / 1.286 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/1.221, allocations: 32.97 kB / 1.286 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/1.222, allocations: 370.8 kB / 1.287 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002676/1.225, allocations: 0.6512 MB / 1.287 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/1.227, allocations: 0.6417 MB / 1.288 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003685/1.231, allocations: 1.883 MB / 1.29 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/1.231, allocations: 121.1 kB / 1.29 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/1.233, allocations: 0.5987 MB / 1.29 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/1.234, allocations: 0.6924 MB / 1.291 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002332/1.235, allocations: 78.81 kB / 1.291 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/1.236, allocations: 428.7 kB / 1.292 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006818/1.236, allocations: 478.4 kB / 1.292 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009361/1.237, allocations: 0.6061 MB / 1.293 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/1.24, allocations: 1.482 MB / 1.294 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.24, allocations: 0 / 1.294 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.805e-06/1.24, allocations: 5.062 kB / 1.294 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.218e-05/1.24, allocations: 0 / 1.294 GB, free: 3.129 MB / 0.9981 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.004038/1.244, allocations: 1.677 MB / 1.296 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.244, allocations: 10.25 kB / 1.296 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.327e-05/1.244, allocations: 11.88 kB / 1.296 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/1.244, allocations: 83.14 kB / 1.296 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/1.245, allocations: 147.9 kB / 1.296 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/1.246, allocations: 0.8558 MB / 1.297 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/1.246, allocations: 44.06 kB / 1.297 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/1.246, allocations: 68.78 kB / 1.297 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/1.247, allocations: 0.6109 MB / 1.297 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.248, allocations: 5.062 kB / 1.297 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/1.248, allocations: 24.27 kB / 1.297 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/1.248, allocations: 10.38 kB / 1.297 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008986/1.248, allocations: 0.5596 MB / 1.298 GB, free: 0.9219 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.00557/1.254, allocations: 3.286 MB / 1.301 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/1.256, allocations: 0.8054 MB / 1.302 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/1.256, allocations: 348.2 kB / 1.302 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.038e-05/1.256, allocations: 33.38 kB / 1.302 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/1.256, allocations: 32.22 kB / 1.302 GB, free: 14.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 2.164e-06/1.256, allocations: 1.156 kB / 1.302 GB, free: 14.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002413/1.259, allocations: 1.191 MB / 1.304 GB, free: 13.98 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/1.259, allocations: 60.3 kB / 1.304 GB, free: 13.91 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/1.261, allocations: 1.237 MB / 1.305 GB, free: 13.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.261, allocations: 45.14 kB / 1.305 GB, free: 13.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/1.262, allocations: 468.4 kB / 1.305 GB, free: 13.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/1.262, allocations: 183.2 kB / 1.305 GB, free: 12.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/1.262, allocations: 208.2 kB / 1.306 GB, free: 12.79 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002149/1.263, allocations: 356.9 kB / 1.306 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/1.264, allocations: 0.6458 MB / 1.307 GB, free: 12.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/1.265, allocations: 0.9688 MB / 1.308 GB, free: 11.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002103/1.267, allocations: 1.584 MB / 1.309 GB, free: 10.76 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.267, allocations: 2.469 kB / 1.309 GB, free: 10.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003186/1.27, allocations: 1.79 MB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/1.27, allocations: 10.39 kB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-05/1.27, allocations: 12.61 kB / 1.311 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/1.271, allocations: 49.56 kB / 1.311 GB, free: 10.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.272, allocations: 265.5 kB / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005155/1.277, allocations: 6.836 MB / 1.318 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/1.279, allocations: 132.5 kB / 1.318 GB, free: 3.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.279, allocations: 44.77 kB / 1.318 GB, free: 3.629 MB / 1.014 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.0006949/1.279, allocations: 298.3 kB / 1.318 GB, free: 3.434 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/1.28, allocations: 120.9 kB / 1.318 GB, free: 3.363 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/1.281, allocations: 0.8438 MB / 1.319 GB, free: 3.074 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.281, allocations: 3.969 kB / 1.319 GB, free: 3.074 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.281, allocations: 5.188 kB / 1.319 GB, free: 3.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.281, allocations: 6.609 kB / 1.319 GB, free: 3.066 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/1.283, allocations: 0.9129 MB / 1.32 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.283, allocations: 0.5625 kB / 1.32 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/1.284, allocations: 114.1 kB / 1.32 GB, free: 2.641 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/1.284, allocations: 36.16 kB / 1.32 GB, free: 2.625 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/1.284, allocations: 13.45 kB / 1.32 GB, free: 2.621 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/1.285, allocations: 1.454 MB / 1.322 GB, free: 1.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.285, allocations: 0 / 1.322 GB, free: 1.18 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/1.288, allocations: 1.373 MB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006558/1.288, allocations: 278.9 kB / 1.323 GB, free: 480 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.288, allocations: 11.95 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007644/1.289, allocations: 36.77 kB / 1.323 GB, free: 464 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.289, allocations: 29.7 kB / 1.323 GB, free: 460 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/1.289, allocations: 10.2 kB / 1.323 GB, free: 460 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001732/1.291, allocations: 0.828 MB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.291, allocations: 0 / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.001639/1.293, allocations: 367.7 kB / 1.325 GB, free: 80 kB / 1.014 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.003288/1.296, allocations: 2.096 MB / 1.327 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002969/1.299, allocations: 1.39 MB / 1.328 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.299, allocations: 0 / 1.328 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/1.3, allocations: 460.2 kB / 1.328 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/1.301, allocations: 240.5 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/1.322, allocations: 11.6 MB / 1.34 GB, free: 6.996 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/1.323, allocations: 1.094 MB / 1.341 GB, free: 6.117 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001055/1.324, allocations: 206.4 kB / 1.341 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007368/1.325, allocations: 402.2 kB / 1.342 GB, free: 5.691 MB / 1.029 GB Notification: Performance of SimCode: time 1.663e-06/1.325, allocations: 0 / 1.342 GB, free: 5.691 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07009/1.395, allocations: 24.56 MB / 1.366 GB, free: 2.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.46, allocations: 5.938 kB / 1.366 GB, free: 2.113 MB / 1.045 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.449812077044044]