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.001835/0.001835, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00228/0.00228, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.672/1.672, allocations: 230.6 MB / 256 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.531/3.531, allocations: 0.4892 GB / 0.7943 GB, free: 35.34 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.002156/0.002156, allocations: 69.12 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3906, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00639/0.397, allocations: 3.967 MB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00571/0.4027, allocations: 2.842 MB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007867/0.4035, allocations: 35.69 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.4048, allocations: 349.7 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.4068, allocations: 0.6962 MB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.4089, allocations: 0.6549 MB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002782/0.4116, allocations: 1.903 MB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.412, allocations: 126.3 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.4131, allocations: 0.6035 MB / 1.336 GB, free: 6.594 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.4142, allocations: 0.6771 MB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.4143, allocations: 80 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009343/0.4153, allocations: 407.4 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005978/0.4158, allocations: 482.6 kB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006431/0.4165, allocations: 0.5014 MB / 1.338 GB, free: 4.461 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001958/0.4185, allocations: 1.517 MB / 1.34 GB, free: 2.938 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4185, allocations: 0 / 1.34 GB, free: 2.938 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4185, allocations: 0 / 1.34 GB, free: 2.938 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.4185, allocations: 0 / 1.34 GB, free: 2.938 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.003337/0.4218, allocations: 1.606 MB / 1.342 GB, free: 1.297 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4219, allocations: 8.031 kB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.4223, allocations: 148 kB / 1.342 GB, free: 1.145 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.4238, allocations: 0.7859 MB / 1.342 GB, free: 328 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.4238, allocations: 45.38 kB / 1.342 GB, free: 284 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.4239, allocations: 64.33 kB / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.4249, allocations: 0.6139 MB / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.425, allocations: 0 / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.425, allocations: 16 kB / 1.343 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.425, allocations: 12 kB / 1.343 GB, free: 15.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008643/0.4259, allocations: 0.5582 MB / 1.344 GB, free: 15 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.004308/0.4302, allocations: 2.238 MB / 1.346 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.4316, allocations: 0.8166 MB / 1.347 GB, free: 11.88 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004907/0.4321, allocations: 337.4 kB / 1.347 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/0.4322, allocations: 24.36 kB / 1.347 GB, free: 11.53 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.4322, allocations: 46.86 kB / 1.347 GB, free: 11.47 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 1.814e-06/0.4323, allocations: 0 / 1.347 GB, free: 11.47 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.001862/0.4341, allocations: 1.103 MB / 1.348 GB, free: 10.36 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.4342, allocations: 63.34 kB / 1.348 GB, free: 10.29 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.4358, allocations: 1.247 MB / 1.349 GB, free: 9.027 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/0.4359, allocations: 37.7 kB / 1.349 GB, free: 8.984 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.4363, allocations: 477.2 kB / 1.35 GB, free: 8.512 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.4365, allocations: 182.4 kB / 1.35 GB, free: 8.332 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/0.4368, allocations: 206.6 kB / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.437, allocations: 353.9 kB / 1.351 GB, free: 7.773 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009791/0.438, allocations: 0.6426 MB / 1.351 GB, free: 7.129 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.4393, allocations: 0.9669 MB / 1.352 GB, free: 6.016 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.4415, allocations: 1.59 MB / 1.354 GB, free: 4.281 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.4415, allocations: 4 kB / 1.354 GB, free: 4.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002602/0.4441, allocations: 1.788 MB / 1.356 GB, free: 2.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.4441, allocations: 8 kB / 1.356 GB, free: 2.473 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.4441, allocations: 16 kB / 1.356 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.4444, allocations: 52.83 kB / 1.356 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4456, allocations: 271.6 kB / 1.356 GB, free: 2.137 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.4509, allocations: 6.71 MB / 1.362 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4521, allocations: 135.1 kB / 1.363 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/0.4522, allocations: 40 kB / 1.363 GB, free: 10.96 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.0005388/0.4527, allocations: 306 kB / 1.363 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.4529, allocations: 115.2 kB / 1.363 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.4542, allocations: 0.8387 MB / 1.364 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4542, allocations: 4 kB / 1.364 GB, free: 9.688 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4542, allocations: 4 kB / 1.364 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4543, allocations: 7.984 kB / 1.364 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009567/0.4552, allocations: 0.6717 MB / 1.364 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4552, allocations: 0 / 1.364 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.4557, allocations: 111.8 kB / 1.365 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.4559, allocations: 36.78 kB / 1.365 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.4559, allocations: 11.98 kB / 1.365 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.457, allocations: 1.315 MB / 1.366 GB, free: 7.398 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.457, allocations: 3.984 kB / 1.366 GB, free: 7.395 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.4588, allocations: 1.382 MB / 1.367 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/0.4593, allocations: 187 kB / 1.367 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.4594, allocations: 16 kB / 1.367 GB, free: 5.797 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.4601, allocations: 32.11 kB / 1.367 GB, free: 5.766 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.899e-05/0.4602, allocations: 31.94 kB / 1.368 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.4602, allocations: 15.94 kB / 1.368 GB, free: 5.719 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001244/0.4614, allocations: 0.8311 MB / 1.368 GB, free: 4.883 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4614, allocations: 0 / 1.368 GB, free: 4.883 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001187/0.4626, allocations: 367.6 kB / 1.369 GB, free: 4.523 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.0005959/0.4632, allocations: 278.8 kB / 1.369 GB, free: 4.238 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002596/0.4658, allocations: 1.397 MB / 1.37 GB, free: 2.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4658, allocations: 0 / 1.37 GB, free: 2.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000625/0.4664, allocations: 462.5 kB / 1.371 GB, free: 2.355 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4675, allocations: 221 kB / 1.371 GB, free: 2.145 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.4715, allocations: 2.575 MB / 1.373 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.4721, allocations: 0.4989 MB / 1.374 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0005323/0.4726, allocations: 211.1 kB / 1.374 GB, free: 14.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.4729, allocations: 67.44 kB / 1.374 GB, free: 14.74 MB / 1.076 GB Notification: Performance of SimCode: time 9.42e-07/0.4729, allocations: 0 / 1.374 GB, free: 14.74 MB / 1.076 GB Notification: Performance of Templates: time 0.03018/0.503, allocations: 17.17 MB / 1.391 GB, free: 13.86 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/jenkins/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.394732085987926]