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.00159/0.00159, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00214/0.00214, allocations: 215.7 kB / 22.24 MB, free: 5.105 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.648/1.648, allocations: 230.6 MB / 256 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.235/3.235, allocations: 0.49 GB / 0.7951 GB, free: 35.35 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.002068/0.002068, allocations: 72.33 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005578/0.352, allocations: 3.978 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005801/0.3578, allocations: 2.853 MB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007407/0.3585, allocations: 27.75 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3597, allocations: 349.7 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.3616, allocations: 0.7156 MB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.3634, allocations: 0.664 MB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.3659, allocations: 1.898 MB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.3662, allocations: 130.3 kB / 1.336 GB, free: 6.855 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.3672, allocations: 0.6113 MB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.3684, allocations: 0.7162 MB / 1.337 GB, free: 5.523 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.3686, allocations: 76 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008867/0.3695, allocations: 435.4 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006697/0.3702, allocations: 478.6 kB / 1.338 GB, free: 4.555 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006923/0.3708, allocations: 0.5014 MB / 1.339 GB, free: 4.051 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001873/0.3727, allocations: 1.502 MB / 1.34 GB, free: 2.543 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3727, allocations: 0 / 1.34 GB, free: 2.543 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3727, allocations: 0 / 1.34 GB, free: 2.543 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.3727, allocations: 0 / 1.34 GB, free: 2.543 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.003531/0.3763, allocations: 1.613 MB / 1.342 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3763, allocations: 12.03 kB / 1.342 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.623e-05/0.3764, allocations: 78.72 kB / 1.342 GB, free: 0.793 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/0.3768, allocations: 152 kB / 1.342 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.3784, allocations: 0.782 MB / 1.343 GB, free: 15.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.3784, allocations: 41.38 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.3785, allocations: 68.33 kB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.3795, allocations: 0.6138 MB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.3796, allocations: 0 / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.3796, allocations: 19.94 kB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.3796, allocations: 12 kB / 1.344 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008235/0.3804, allocations: 0.5543 MB / 1.344 GB, free: 14.5 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.004677/0.3851, allocations: 2.302 MB / 1.346 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.3866, allocations: 0.801 MB / 1.347 GB, free: 11.33 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.387, allocations: 345.4 kB / 1.348 GB, free: 10.99 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.221e-05/0.3871, allocations: 28.36 kB / 1.348 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3871, allocations: 38.88 kB / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 2.344e-06/0.3871, allocations: 0 / 1.348 GB, free: 10.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.00199/0.3891, allocations: 1.111 MB / 1.349 GB, free: 9.793 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3892, allocations: 55.41 kB / 1.349 GB, free: 9.727 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.391, allocations: 1.243 MB / 1.35 GB, free: 8.473 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.391, allocations: 41.7 kB / 1.35 GB, free: 8.426 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.3915, allocations: 473.3 kB / 1.35 GB, free: 7.957 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.3917, allocations: 186.4 kB / 1.351 GB, free: 7.773 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002948/0.392, allocations: 210.6 kB / 1.351 GB, free: 7.562 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3922, allocations: 357.8 kB / 1.351 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/0.393, allocations: 0.6465 MB / 1.352 GB, free: 6.559 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.3942, allocations: 0.9668 MB / 1.353 GB, free: 5.445 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.3962, allocations: 1.586 MB / 1.354 GB, free: 3.715 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.329e-05/0.3962, allocations: 4 kB / 1.354 GB, free: 3.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002614/0.3988, allocations: 1.787 MB / 1.356 GB, free: 1.914 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.3989, allocations: 12 kB / 1.356 GB, free: 1.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.3989, allocations: 12 kB / 1.356 GB, free: 1.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002258/0.3991, allocations: 49.33 kB / 1.356 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.4003, allocations: 267.6 kB / 1.356 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006075/0.4064, allocations: 6.732 MB / 1.363 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.4079, allocations: 131 kB / 1.363 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.417e-05/0.408, allocations: 40 kB / 1.363 GB, free: 10.38 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.0006168/0.4086, allocations: 310.4 kB / 1.363 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.4089, allocations: 123.1 kB / 1.364 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.4103, allocations: 0.8388 MB / 1.364 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.4103, allocations: 11.98 kB / 1.364 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.4103, allocations: 0 / 1.364 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/0.4103, allocations: 3.984 kB / 1.364 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.4115, allocations: 0.739 MB / 1.365 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4115, allocations: 0 / 1.365 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.4121, allocations: 111.9 kB / 1.365 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.4123, allocations: 32.83 kB / 1.365 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.425e-05/0.4123, allocations: 16 kB / 1.365 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.4135, allocations: 1.327 MB / 1.367 GB, free: 6.695 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4135, allocations: 4.062 kB / 1.367 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.4155, allocations: 1.374 MB / 1.368 GB, free: 5.301 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005677/0.4161, allocations: 199 kB / 1.368 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.4162, allocations: 15.98 kB / 1.368 GB, free: 5.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006412/0.4169, allocations: 27.95 kB / 1.368 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.4169, allocations: 28.06 kB / 1.368 GB, free: 5.035 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.417, allocations: 19.92 kB / 1.368 GB, free: 5.016 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001219/0.4182, allocations: 0.835 MB / 1.369 GB, free: 4.176 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4182, allocations: 0 / 1.369 GB, free: 4.176 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001224/0.4194, allocations: 371.6 kB / 1.369 GB, free: 3.812 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.00291/0.4223, allocations: 2.092 MB / 1.371 GB, free: 1.688 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002591/0.4249, allocations: 1.381 MB / 1.373 GB, free: 288 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4249, allocations: 4 kB / 1.373 GB, free: 284 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.4256, allocations: 462.2 kB / 1.373 GB, free: 15.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.4268, allocations: 232 kB / 1.373 GB, free: 15.59 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/0.4441, allocations: 11.61 MB / 1.385 GB, free: 3.566 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.4447, allocations: 0.499 MB / 1.385 GB, free: 3.035 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006382/0.4453, allocations: 203.1 kB / 1.385 GB, free: 2.832 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005773/0.4459, allocations: 403.3 kB / 1.386 GB, free: 2.438 MB / 1.076 GB Notification: Performance of SimCode: time 2.024e-06/0.4459, allocations: 0 / 1.386 GB, free: 2.438 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07365/0.5196, allocations: 26.58 MB / 1.412 GB, free: 8.293 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.68, allocations: 0 / 1.412 GB, free: 8.293 MB / 1.107 GB " [Timeout remaining time 285] (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: 21.749413736979477]