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.001551/0.001551, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001655/0.001655, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.438/1.438, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.829/2.829, allocations: 0.49 GB / 0.7923 GB, free: 1.418 MB / 0.6231 GB " [Timeout remaining time 177] 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: 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_12_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_12_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.001998/0.001998, allocations: 75.89 kB / 1.15 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8404/0.8424, allocations: 176.1 MB / 1.322 GB, free: 25.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004076/0.8465, allocations: 4.404 MB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003738/0.8502, allocations: 3.022 MB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.8506, allocations: 28.62 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.8514, allocations: 361.5 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.8525, allocations: 0.6584 MB / 1.33 GB, free: 19.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.8539, allocations: 0.6411 MB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002176/0.8561, allocations: 1.89 MB / 1.333 GB, free: 18.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002348/0.8563, allocations: 124.2 kB / 1.333 GB, free: 18.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008773/0.8572, allocations: 0.6038 MB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/0.8581, allocations: 0.697 MB / 1.334 GB, free: 17.62 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.8582, allocations: 77.44 kB / 1.334 GB, free: 17.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000796/0.859, allocations: 420.4 kB / 1.335 GB, free: 17.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005246/0.8595, allocations: 474.7 kB / 1.335 GB, free: 17.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007145/0.8603, allocations: 0.6051 MB / 1.336 GB, free: 17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.862, allocations: 1.487 MB / 1.337 GB, free: 16.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.862, allocations: 0.7969 kB / 1.337 GB, free: 16.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/0.862, allocations: 1.406 kB / 1.337 GB, free: 16.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.8621, allocations: 4 kB / 1.337 GB, free: 16.44 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.002875/0.8649, allocations: 1.68 MB / 1.339 GB, free: 15.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.865, allocations: 8.844 kB / 1.339 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003934/0.8654, allocations: 147.8 kB / 1.339 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.8666, allocations: 0.8518 MB / 1.34 GB, free: 14.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.8666, allocations: 49.73 kB / 1.34 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.8667, allocations: 64.11 kB / 1.34 GB, free: 14.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.8675, allocations: 0.611 MB / 1.34 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.8676, allocations: 0 / 1.34 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.8676, allocations: 20.22 kB / 1.34 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.8676, allocations: 10.88 kB / 1.34 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.8684, allocations: 0.5683 MB / 1.341 GB, free: 14.3 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.004042/0.8724, allocations: 3.281 MB / 1.344 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.8737, allocations: 0.81 MB / 1.345 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/0.8741, allocations: 343.7 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.834e-05/0.8742, allocations: 28.38 kB / 1.345 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.8742, allocations: 41.25 kB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.8742, allocations: 0 / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.001764/0.876, allocations: 1.186 MB / 1.346 GB, free: 11.37 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.876, allocations: 55.56 kB / 1.347 GB, free: 11.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.8777, allocations: 1.237 MB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.15e-05/0.8777, allocations: 41.48 kB / 1.348 GB, free: 10.78 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.878, allocations: 473.1 kB / 1.348 GB, free: 10.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.8781, allocations: 175.3 kB / 1.348 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.8784, allocations: 219.4 kB / 1.349 GB, free: 10.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.8785, allocations: 353.2 kB / 1.349 GB, free: 9.848 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/0.8792, allocations: 0.6461 MB / 1.35 GB, free: 9.648 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008919/0.8801, allocations: 0.9639 MB / 1.351 GB, free: 9.039 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.8817, allocations: 1.589 MB / 1.352 GB, free: 8.156 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.8817, allocations: 2.281 kB / 1.352 GB, free: 8.156 MB / 1.061 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002263/0.884, allocations: 1.789 MB / 1.354 GB, free: 7.492 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.884, allocations: 10.97 kB / 1.354 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.884, allocations: 12.16 kB / 1.354 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.8842, allocations: 47.97 kB / 1.354 GB, free: 7.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.8853, allocations: 269.6 kB / 1.354 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.8878, allocations: 6.849 MB / 1.361 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.889, allocations: 127.6 kB / 1.361 GB, free: 1.023 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.8891, allocations: 41.83 kB / 1.361 GB, free: 1.016 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.0004202/0.8895, allocations: 301.6 kB / 1.361 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.8896, allocations: 120.5 kB / 1.361 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.8908, allocations: 0.8512 MB / 1.362 GB, free: 460 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.8908, allocations: 5.062 kB / 1.362 GB, free: 460 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.8908, allocations: 0 / 1.362 GB, free: 460 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.8908, allocations: 6.141 kB / 1.362 GB, free: 456 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.8919, allocations: 0.9214 MB / 1.363 GB, free: 24 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.8919, allocations: 0 / 1.363 GB, free: 24 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.8924, allocations: 111.2 kB / 1.363 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.8925, allocations: 35.55 kB / 1.363 GB, free: 0 / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/0.8926, allocations: 17.3 kB / 1.363 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.8937, allocations: 1.431 MB / 1.365 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8937, allocations: 0 / 1.365 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.8955, allocations: 1.373 MB / 1.366 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.8959, allocations: 274.9 kB / 1.366 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.8961, allocations: 20.36 kB / 1.366 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/0.8967, allocations: 33.06 kB / 1.366 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.8968, allocations: 27.52 kB / 1.366 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.8968, allocations: 13.92 kB / 1.366 GB, free: 13.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001269/0.8981, allocations: 0.8296 MB / 1.367 GB, free: 13.51 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8981, allocations: 0 / 1.367 GB, free: 13.51 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001204/0.8993, allocations: 368.2 kB / 1.368 GB, free: 13.46 MB / 1.076 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.0005647/0.8999, allocations: 279.6 kB / 1.368 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002546/0.9024, allocations: 1.394 MB / 1.369 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9024, allocations: 5.281 kB / 1.369 GB, free: 12.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006105/0.903, allocations: 461.7 kB / 1.37 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.9041, allocations: 230.6 kB / 1.37 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/0.908, allocations: 2.617 MB / 1.372 GB, free: 11.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/0.9089, allocations: 1.094 MB / 1.373 GB, free: 10.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.9092, allocations: 70.8 kB / 1.374 GB, free: 10.31 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/0.9092, allocations: 0 / 1.374 GB, free: 10.31 MB / 1.076 GB Notification: Performance of Templates: time 0.04229/0.9515, allocations: 30.94 MB / 1.404 GB, free: 15.33 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] 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: 14.424762227004976]