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.001305/0.001305, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001417/0.001417, allocations: 210.4 kB / 22.99 MB, free: 4.957 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.353/3.353, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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: 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.002144/0.002144, allocations: 67.95 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.414, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006601/0.4206, allocations: 3.977 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005888/0.4265, allocations: 2.844 MB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005237/0.4271, allocations: 27.75 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.4282, allocations: 349.8 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.4298, allocations: 0.7157 MB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.4315, allocations: 0.6643 MB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002588/0.4341, allocations: 1.898 MB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.4344, allocations: 130.3 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009483/0.4354, allocations: 0.6074 MB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.4364, allocations: 0.7162 MB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001617/0.4365, allocations: 76 kB / 1.339 GB, free: 4.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.4374, allocations: 427.5 kB / 1.339 GB, free: 4.492 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005323/0.4379, allocations: 482.6 kB / 1.34 GB, free: 4.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.4385, allocations: 0.5053 MB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.4406, allocations: 1.502 MB / 1.342 GB, free: 2.004 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4406, allocations: 4 kB / 1.342 GB, free: 2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4406, allocations: 0 / 1.342 GB, free: 2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.4406, allocations: 0 / 1.342 GB, free: 2 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.003487/0.4441, allocations: 1.606 MB / 1.343 GB, free: 364 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4442, allocations: 12.03 kB / 1.343 GB, free: 352 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.4446, allocations: 152 kB / 1.343 GB, free: 200 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.4462, allocations: 0.782 MB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.845e-05/0.4463, allocations: 41.38 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.4465, allocations: 68.33 kB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.4479, allocations: 0.6139 MB / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4479, allocations: 0 / 1.345 GB, free: 14.64 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.448, allocations: 19.98 kB / 1.345 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.448, allocations: 12 kB / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008938/0.4489, allocations: 0.5582 MB / 1.345 GB, free: 14.05 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.004698/0.4536, allocations: 2.238 MB / 1.348 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.4551, allocations: 0.8095 MB / 1.348 GB, free: 10.94 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004651/0.4556, allocations: 341.4 kB / 1.349 GB, free: 10.61 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.561e-05/0.4556, allocations: 24.36 kB / 1.349 GB, free: 10.58 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.4557, allocations: 38.88 kB / 1.349 GB, free: 10.54 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 2.434e-06/0.4557, allocations: 0 / 1.349 GB, free: 10.54 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.002002/0.4577, allocations: 1.119 MB / 1.35 GB, free: 9.406 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.4577, allocations: 59.41 kB / 1.35 GB, free: 9.336 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.4595, allocations: 1.243 MB / 1.351 GB, free: 8.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.4596, allocations: 41.7 kB / 1.351 GB, free: 8.035 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/0.4601, allocations: 469.3 kB / 1.352 GB, free: 7.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.4603, allocations: 186.4 kB / 1.352 GB, free: 7.387 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002871/0.4606, allocations: 210.5 kB / 1.352 GB, free: 7.176 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002669/0.4608, allocations: 353.9 kB / 1.352 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.4618, allocations: 0.6426 MB / 1.353 GB, free: 6.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.463, allocations: 0.9669 MB / 1.354 GB, free: 5.066 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.4651, allocations: 1.586 MB / 1.355 GB, free: 3.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4651, allocations: 0 / 1.355 GB, free: 3.336 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00279/0.4679, allocations: 1.791 MB / 1.357 GB, free: 1.535 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4679, allocations: 10.66 kB / 1.357 GB, free: 1.527 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/0.4679, allocations: 19.97 kB / 1.357 GB, free: 1.508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/0.4682, allocations: 44.84 kB / 1.357 GB, free: 1.461 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.4695, allocations: 275.6 kB / 1.357 GB, free: 1.191 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006187/0.4757, allocations: 6.713 MB / 1.364 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.4771, allocations: 135.6 kB / 1.364 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.4771, allocations: 40 kB / 1.364 GB, free: 10.02 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.0005277/0.4777, allocations: 305.9 kB / 1.365 GB, free: 9.707 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.4779, allocations: 119.2 kB / 1.365 GB, free: 9.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.4792, allocations: 0.8349 MB / 1.365 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4792, allocations: 4 kB / 1.365 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.4792, allocations: 0 / 1.365 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.4792, allocations: 15.92 kB / 1.365 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.4802, allocations: 0.6678 MB / 1.366 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4802, allocations: 0 / 1.366 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/0.4808, allocations: 115.8 kB / 1.366 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.481, allocations: 36.77 kB / 1.366 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.481, allocations: 15.98 kB / 1.366 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.4823, allocations: 1.315 MB / 1.368 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4823, allocations: 0 / 1.368 GB, free: 6.441 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.4842, allocations: 1.374 MB / 1.369 GB, free: 5.051 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.4847, allocations: 191 kB / 1.369 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.4849, allocations: 12 kB / 1.369 GB, free: 4.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.4855, allocations: 32.22 kB / 1.369 GB, free: 4.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.4856, allocations: 39.88 kB / 1.369 GB, free: 4.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.4856, allocations: 19.94 kB / 1.369 GB, free: 4.762 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001238/0.4869, allocations: 0.8349 MB / 1.37 GB, free: 3.922 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4869, allocations: 0 / 1.37 GB, free: 3.922 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001288/0.4882, allocations: 363.6 kB / 1.37 GB, free: 3.566 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.0005644/0.4887, allocations: 274.8 kB / 1.371 GB, free: 3.285 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002674/0.4914, allocations: 1.392 MB / 1.372 GB, free: 1.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4914, allocations: 1.875 kB / 1.372 GB, free: 1.871 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006831/0.4921, allocations: 458.5 kB / 1.372 GB, free: 1.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.4932, allocations: 230.8 kB / 1.373 GB, free: 1.188 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.4975, allocations: 2.568 MB / 1.375 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.4981, allocations: 0.4989 MB / 1.376 GB, free: 14.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006334/0.4987, allocations: 207.1 kB / 1.376 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.4989, allocations: 63.44 kB / 1.376 GB, free: 13.79 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/0.4989, allocations: 0 / 1.376 GB, free: 13.79 MB / 1.076 GB Notification: Performance of Templates: time 0.03164/0.5306, allocations: 17.34 MB / 1.393 GB, free: 12.74 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 -s cvode -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: 10.074669918001746]