Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00137/0.00137, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001703/0.001703, allocations: 209.4 kB / 23 MB, free: 4.57 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.8 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002089/0.002089, allocations: 66.66 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3265, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006311/0.3328, allocations: 4.413 MB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005726/0.3385, allocations: 3.05 MB / 1.292 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/0.3392, allocations: 27.75 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3403, allocations: 353.8 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.3419, allocations: 0.7078 MB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.3436, allocations: 0.6588 MB / 1.294 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00258/0.3461, allocations: 1.906 MB / 1.295 GB, free: 64 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.3464, allocations: 126.3 kB / 1.296 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.3475, allocations: 0.6113 MB / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.3486, allocations: 0.7162 MB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.3488, allocations: 80 kB / 1.297 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000829/0.3496, allocations: 439.4 kB / 1.297 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005499/0.3502, allocations: 490.5 kB / 1.298 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006261/0.3508, allocations: 0.6062 MB / 1.298 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.3528, allocations: 1.482 MB / 1.3 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3528, allocations: 0 / 1.3 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3528, allocations: 4 kB / 1.3 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.3528, allocations: 0 / 1.3 GB, free: 11.5 MB / 0.9981 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.003284/0.3561, allocations: 1.606 MB / 1.301 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3561, allocations: 8.031 kB / 1.301 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/0.3565, allocations: 148 kB / 1.302 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.358, allocations: 0.7936 MB / 1.302 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.358, allocations: 41.38 kB / 1.302 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3582, allocations: 68.33 kB / 1.302 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009783/0.3591, allocations: 0.61 MB / 1.303 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3592, allocations: 7.938 kB / 1.303 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.3592, allocations: 16 kB / 1.303 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3592, allocations: 16 kB / 1.303 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.3601, allocations: 0.5582 MB / 1.304 GB, free: 7.543 MB / 0.9981 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.005174/0.3653, allocations: 3.252 MB / 1.307 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.3668, allocations: 0.8132 MB / 1.308 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.3673, allocations: 337.4 kB / 1.308 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.914e-05/0.3674, allocations: 36.23 kB / 1.308 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.3674, allocations: 38.94 kB / 1.308 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/0.3674, allocations: 0 / 1.308 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.001956/0.3694, allocations: 1.111 MB / 1.309 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3694, allocations: 55.41 kB / 1.309 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.3713, allocations: 1.239 MB / 1.31 GB, free: 388 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.3714, allocations: 45.64 kB / 1.31 GB, free: 336 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.3719, allocations: 469.5 kB / 1.311 GB, free: 15.86 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.3721, allocations: 182.4 kB / 1.311 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.3724, allocations: 218.5 kB / 1.311 GB, free: 15.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.3726, allocations: 349.9 kB / 1.312 GB, free: 15.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008615/0.3734, allocations: 0.6426 MB / 1.312 GB, free: 14.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.3746, allocations: 0.9669 MB / 1.313 GB, free: 13.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.3767, allocations: 1.589 MB / 1.315 GB, free: 11.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.3767, allocations: 4 kB / 1.315 GB, free: 11.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002793/0.3795, allocations: 1.787 MB / 1.316 GB, free: 9.832 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.3796, allocations: 8.156 kB / 1.316 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/0.3796, allocations: 16 kB / 1.316 GB, free: 9.809 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.3798, allocations: 48.83 kB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.381, allocations: 267.6 kB / 1.317 GB, free: 9.496 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004943/0.3859, allocations: 6.733 MB / 1.323 GB, free: 2.465 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.3872, allocations: 135 kB / 1.323 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/0.3873, allocations: 40 kB / 1.323 GB, free: 2.293 MB / 1.014 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.0004558/0.3877, allocations: 293.5 kB / 1.324 GB, free: 1.996 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.3879, allocations: 127.1 kB / 1.324 GB, free: 1.871 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.3892, allocations: 0.8467 MB / 1.325 GB, free: 1.008 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3892, allocations: 4 kB / 1.325 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3892, allocations: 0 / 1.325 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3892, allocations: 0 / 1.325 GB, free: 1.004 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.3904, allocations: 0.887 MB / 1.326 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3904, allocations: 0 / 1.326 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/0.391, allocations: 111.8 kB / 1.326 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.3911, allocations: 32.84 kB / 1.326 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.3911, allocations: 19.98 kB / 1.326 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.3923, allocations: 1.341 MB / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3923, allocations: 0 / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.3942, allocations: 1.37 MB / 1.328 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/0.3946, allocations: 198.9 kB / 1.329 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.3948, allocations: 16 kB / 1.329 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006158/0.3954, allocations: 31.89 kB / 1.329 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/0.3955, allocations: 31.94 kB / 1.329 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.3955, allocations: 12 kB / 1.329 GB, free: 12.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00125/0.3967, allocations: 0.8272 MB / 1.329 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3967, allocations: 0 / 1.329 GB, free: 11.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001076/0.3978, allocations: 375.6 kB / 1.33 GB, free: 11.58 MB / 1.029 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.0005649/0.3984, allocations: 266.8 kB / 1.33 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002557/0.4009, allocations: 1.409 MB / 1.331 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4009, allocations: 0 / 1.331 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/0.4016, allocations: 458.5 kB / 1.332 GB, free: 9.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.4027, allocations: 230.4 kB / 1.332 GB, free: 9.191 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.4067, allocations: 2.633 MB / 1.335 GB, free: 6.527 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.4075, allocations: 1.098 MB / 1.336 GB, free: 5.402 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.4078, allocations: 71.42 kB / 1.336 GB, free: 5.332 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/0.4078, allocations: 0 / 1.336 GB, free: 5.332 MB / 1.029 GB Notification: Performance of Templates: time 0.0389/0.4467, allocations: 30.94 MB / 1.366 GB, free: 6.422 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.606263267021859]