Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001461/0.001461, allocations: 109.6 kB / 19.7 MB, free: 2.25 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.001602/0.001602, allocations: 216 kB / 23.01 MB, free: 5.086 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.321/1.321, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.949/2.949, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [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.001952/0.001952, allocations: 72.45 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2843, allocations: 180.2 MB / 1.354 GB, free: 7.961 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005443/0.2897, allocations: 4.41 MB / 1.358 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004462/0.2942, allocations: 3.042 MB / 1.361 GB, free: 484 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.2944, allocations: 31.75 kB / 1.361 GB, free: 452 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008207/0.2953, allocations: 369.7 kB / 1.362 GB, free: 80 kB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.2965, allocations: 0.6933 MB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.2978, allocations: 0.6644 MB / 1.363 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.2997, allocations: 1.913 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.2999, allocations: 126.3 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/0.3007, allocations: 0.5996 MB / 1.366 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009713/0.3016, allocations: 0.7201 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.3018, allocations: 76 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000678/0.3024, allocations: 451.4 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.3029, allocations: 486.5 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005731/0.3035, allocations: 0.6062 MB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.305, allocations: 1.498 MB / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.305, allocations: 0 / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.062e-06/0.305, allocations: 0 / 1.369 GB, free: 8.234 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.305, allocations: 0 / 1.369 GB, free: 8.234 MB / 1.061 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.002849/0.3079, allocations: 1.594 MB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.3079, allocations: 15.97 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003624/0.3083, allocations: 152 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3096, allocations: 0.7781 MB / 1.372 GB, free: 5.625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.3096, allocations: 41.38 kB / 1.372 GB, free: 5.582 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.3097, allocations: 72.31 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.3106, allocations: 0.614 MB / 1.373 GB, free: 4.879 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.3106, allocations: 3.938 kB / 1.373 GB, free: 4.875 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.353e-05/0.3106, allocations: 16 kB / 1.373 GB, free: 4.859 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.3107, allocations: 12 kB / 1.373 GB, free: 4.848 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.3114, allocations: 0.5582 MB / 1.373 GB, free: 4.289 MB / 1.061 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.00437/0.3158, allocations: 3.26 MB / 1.376 GB, free: 0.793 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.3171, allocations: 0.8138 MB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.3176, allocations: 345.2 kB / 1.377 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.3176, allocations: 28.23 kB / 1.377 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3177, allocations: 42.94 kB / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 1.413e-06/0.3177, allocations: 0 / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.00165/0.3193, allocations: 1.104 MB / 1.379 GB, free: 14.44 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3194, allocations: 55.41 kB / 1.379 GB, free: 14.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.3209, allocations: 1.247 MB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.321, allocations: 45.7 kB / 1.38 GB, free: 13.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003807/0.3214, allocations: 461.3 kB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.3215, allocations: 186.4 kB / 1.38 GB, free: 12.42 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.3218, allocations: 210.6 kB / 1.381 GB, free: 12.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3219, allocations: 349.9 kB / 1.381 GB, free: 11.86 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007858/0.3227, allocations: 0.6426 MB / 1.382 GB, free: 11.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/0.3238, allocations: 0.9708 MB / 1.383 GB, free: 10.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.3256, allocations: 1.582 MB / 1.384 GB, free: 8.375 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.3256, allocations: 8 kB / 1.384 GB, free: 8.367 MB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002348/0.3279, allocations: 1.787 MB / 1.386 GB, free: 6.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3279, allocations: 8 kB / 1.386 GB, free: 6.562 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.328, allocations: 12 kB / 1.386 GB, free: 6.551 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.3281, allocations: 44.83 kB / 1.386 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.3292, allocations: 271.6 kB / 1.386 GB, free: 6.238 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004328/0.3335, allocations: 6.744 MB / 1.393 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/0.3344, allocations: 131 kB / 1.393 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.3345, allocations: 43.98 kB / 1.393 GB, free: 15.02 MB / 1.092 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.0003874/0.3349, allocations: 302.3 kB / 1.393 GB, free: 14.72 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.335, allocations: 119.1 kB / 1.393 GB, free: 14.6 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.3362, allocations: 0.8347 MB / 1.394 GB, free: 13.75 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.3363, allocations: 7.984 kB / 1.394 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3363, allocations: 0 / 1.394 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3363, allocations: 0 / 1.394 GB, free: 13.74 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.3373, allocations: 0.8985 MB / 1.395 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3373, allocations: 0 / 1.395 GB, free: 12.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.3378, allocations: 115.9 kB / 1.395 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.3379, allocations: 36.83 kB / 1.395 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.3379, allocations: 15.98 kB / 1.395 GB, free: 12.64 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.339, allocations: 1.334 MB / 1.397 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.339, allocations: 0 / 1.397 GB, free: 11.19 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3406, allocations: 1.374 MB / 1.398 GB, free: 9.793 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/0.341, allocations: 195 kB / 1.398 GB, free: 9.602 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.3411, allocations: 19.92 kB / 1.398 GB, free: 9.582 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.3417, allocations: 35.95 kB / 1.398 GB, free: 9.547 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3418, allocations: 23.95 kB / 1.398 GB, free: 9.523 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3418, allocations: 15.98 kB / 1.398 GB, free: 9.508 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001086/0.3429, allocations: 0.8311 MB / 1.399 GB, free: 8.672 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3429, allocations: 0 / 1.399 GB, free: 8.672 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008917/0.3438, allocations: 367.6 kB / 1.399 GB, free: 8.312 MB / 1.092 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.0004868/0.3443, allocations: 273.3 kB / 1.4 GB, free: 8.035 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.3465, allocations: 1.404 MB / 1.401 GB, free: 6.605 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3465, allocations: 0 / 1.401 GB, free: 6.605 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005565/0.3471, allocations: 459.8 kB / 1.401 GB, free: 6.145 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009229/0.348, allocations: 224.6 kB / 1.402 GB, free: 5.926 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.3515, allocations: 2.63 MB / 1.404 GB, free: 3.266 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.3522, allocations: 1.094 MB / 1.405 GB, free: 2.145 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.3524, allocations: 71.42 kB / 1.405 GB, free: 2.074 MB / 1.092 GB Notification: Performance of SimCode: time 4.11e-07/0.3525, allocations: 0 / 1.405 GB, free: 2.074 MB / 1.092 GB Notification: Performance of Templates: time 0.03431/0.3868, allocations: 30.94 MB / 1.436 GB, free: 3.164 MB / 1.123 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.069835328002227]