Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 251 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 443.4 MB / 0.7321 GB, free: 12.32 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.89 kB / 1.061 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9177/0.9197, allocations: 160.8 MB / 1.218 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006156/0.9259, allocations: 4.394 MB / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00571/0.9316, allocations: 2.989 MB / 1.226 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008094/0.9324, allocations: 28.34 kB / 1.226 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001244/0.9336, allocations: 367.7 kB / 1.226 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.9356, allocations: 0.6926 MB / 1.227 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.9377, allocations: 0.6694 MB / 1.227 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002955/0.9406, allocations: 1.899 MB / 1.229 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.941, allocations: 126 kB / 1.229 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.9423, allocations: 0.6062 MB / 1.23 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.9439, allocations: 0.7152 MB / 1.231 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003662/0.9443, allocations: 77.19 kB / 1.231 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.9456, allocations: 451.9 kB / 1.231 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007604/0.9463, allocations: 486.6 kB / 1.232 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009934/0.9473, allocations: 0.61 MB / 1.232 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.9493, allocations: 1.475 MB / 1.234 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.9493, allocations: 7.984 kB / 1.234 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9493, allocations: 0 / 1.234 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.9493, allocations: 0 / 1.234 GB, free: 7.637 MB / 0.9356 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.003247/0.9526, allocations: 1.673 MB / 1.235 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.9526, allocations: 12.03 kB / 1.235 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.9528, allocations: 144 kB / 1.235 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.9543, allocations: 0.8475 MB / 1.236 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.9544, allocations: 49.31 kB / 1.236 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.9545, allocations: 60.38 kB / 1.236 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.9554, allocations: 0.6218 MB / 1.237 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.9554, allocations: 0 / 1.237 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/0.9555, allocations: 16 kB / 1.237 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.9555, allocations: 12 kB / 1.237 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.9563, allocations: 0.5504 MB / 1.238 GB, free: 3.531 MB / 0.9356 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.004809/0.9611, allocations: 3.294 MB / 1.241 GB, free: 15.99 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.9626, allocations: 0.8165 MB / 1.242 GB, free: 15.16 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.9631, allocations: 341.4 kB / 1.242 GB, free: 14.82 MB / 0.9513 GB Notification: Performance of preOpt evalFunc (simulation): time 7.678e-05/0.9631, allocations: 40.28 kB / 1.242 GB, free: 14.79 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.9632, allocations: 34.94 kB / 1.242 GB, free: 14.74 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=45): time 1.462e-06/0.9632, allocations: 0 / 1.242 GB, free: 14.74 MB / 0.9513 GB Notification: Performance of matching and sorting (n=45): time 0.001849/0.965, allocations: 1.188 MB / 1.243 GB, free: 13.53 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.9651, allocations: 55.41 kB / 1.243 GB, free: 13.46 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.9668, allocations: 1.247 MB / 1.244 GB, free: 12.2 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.9668, allocations: 41.7 kB / 1.244 GB, free: 12.16 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.9672, allocations: 465.3 kB / 1.245 GB, free: 11.7 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.9674, allocations: 186.4 kB / 1.245 GB, free: 11.51 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.9677, allocations: 210.6 kB / 1.245 GB, free: 11.3 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.9678, allocations: 349.9 kB / 1.246 GB, free: 10.95 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008721/0.9687, allocations: 0.6426 MB / 1.246 GB, free: 10.31 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.9698, allocations: 0.9785 MB / 1.247 GB, free: 9.188 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.9717, allocations: 1.586 MB / 1.249 GB, free: 7.461 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.9718, allocations: 7.938 kB / 1.249 GB, free: 7.453 MB / 0.9513 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002514/0.9743, allocations: 1.783 MB / 1.25 GB, free: 5.656 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.9743, allocations: 8 kB / 1.25 GB, free: 5.648 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/0.9743, allocations: 16 kB / 1.25 GB, free: 5.633 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.9745, allocations: 49.2 kB / 1.251 GB, free: 5.582 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.9757, allocations: 271.6 kB / 1.251 GB, free: 5.316 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005073/0.9808, allocations: 6.828 MB / 1.257 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.982, allocations: 135 kB / 1.258 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.9821, allocations: 40.27 kB / 1.258 GB, free: 13.99 MB / 0.9669 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.0005096/0.9826, allocations: 309.4 kB / 1.258 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.9828, allocations: 123.1 kB / 1.258 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.9841, allocations: 0.8451 MB / 1.259 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.9841, allocations: 4 kB / 1.259 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9841, allocations: 4 kB / 1.259 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.9841, allocations: 4 kB / 1.259 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.9853, allocations: 0.9152 MB / 1.26 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9853, allocations: 4 kB / 1.26 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.9858, allocations: 107.9 kB / 1.26 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.9859, allocations: 32.83 kB / 1.26 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.986, allocations: 15.98 kB / 1.26 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.9871, allocations: 1.441 MB / 1.261 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.9871, allocations: 3.984 kB / 1.261 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.9889, allocations: 1.37 MB / 1.263 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004669/0.9894, allocations: 268.1 kB / 1.263 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.9895, allocations: 19.92 kB / 1.263 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.9901, allocations: 36.02 kB / 1.263 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.9902, allocations: 27.95 kB / 1.263 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.9902, allocations: 12 kB / 1.263 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001192/0.9914, allocations: 0.8271 MB / 1.264 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.9914, allocations: 0 / 1.264 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001036/0.9924, allocations: 371.7 kB / 1.264 GB, free: 7.02 MB / 0.9669 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.0005459/0.993, allocations: 284.7 kB / 1.264 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002451/0.9954, allocations: 1.385 MB / 1.266 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9954, allocations: 0 / 1.266 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.996, allocations: 462.7 kB / 1.266 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.997, allocations: 230.8 kB / 1.266 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/1.001, allocations: 2.566 MB / 1.269 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/1.002, allocations: 1.098 MB / 1.27 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004955/1.002, allocations: 203.1 kB / 1.27 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/1.003, allocations: 71.42 kB / 1.27 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/1.003, allocations: 0 / 1.27 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of Templates: time 0.03017/1.033, allocations: 15.37 MB / 1.285 GB, free: 1.434 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.666832166723907]