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.001849/0.001849, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002294/0.002294, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.548/1.548, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.772/2.772, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0.7656 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.538e-05, allocations: 2.938 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006538/0.006573, allocations: 3.983 MB / 0.7902 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006264/0.01284, allocations: 2.851 MB / 0.793 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008974/0.01373, allocations: 28.69 kB / 0.793 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.01503, allocations: 354.2 kB / 0.7934 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.01703, allocations: 0.7145 MB / 0.7941 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.01901, allocations: 0.6737 MB / 0.7947 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.02204, allocations: 1.941 MB / 0.7966 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.02238, allocations: 118.4 kB / 0.7967 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.02415, allocations: 0.8193 MB / 0.7975 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.02529, allocations: 0.6133 MB / 0.7981 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.02545, allocations: 76 kB / 0.7982 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008997/0.02635, allocations: 419.2 kB / 0.7986 GB, free: 276 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00065/0.027, allocations: 0.5036 MB / 0.7991 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.0276, allocations: 419 kB / 0.7995 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.02978, allocations: 1.507 MB / 0.801 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.02979, allocations: 7.156 kB / 0.801 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.313e-06/0.02979, allocations: 0 / 0.801 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.02981, allocations: 0 / 0.801 GB, free: 13.84 MB / 0.7605 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.00374/0.03355, allocations: 1.587 MB / 0.8025 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.03359, allocations: 8.031 kB / 0.8025 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005168/0.03411, allocations: 180 kB / 0.8027 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.03574, allocations: 0.8089 MB / 0.8035 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.03579, allocations: 46.47 kB / 0.8035 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.03592, allocations: 64.36 kB / 0.8036 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.037, allocations: 0.6104 MB / 0.8042 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.03702, allocations: 1.219 kB / 0.8042 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.129e-05/0.03707, allocations: 20.12 kB / 0.8042 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.03708, allocations: 12 kB / 0.8042 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009278/0.03801, allocations: 0.5621 MB / 0.8048 GB, free: 9.867 MB / 0.7605 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.004636/0.04265, allocations: 2.242 MB / 0.807 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.0443, allocations: 0.8126 MB / 0.8078 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.04485, allocations: 341.4 kB / 0.8081 GB, free: 6.418 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.643e-05/0.04495, allocations: 28.36 kB / 0.8081 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.04499, allocations: 38.94 kB / 0.8081 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 2.345e-06/0.04499, allocations: 0 / 0.8081 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.002227/0.04722, allocations: 1.131 MB / 0.8093 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.04727, allocations: 59.34 kB / 0.8093 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.04932, allocations: 1.247 MB / 0.8105 GB, free: 3.875 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.0494, allocations: 41.7 kB / 0.8106 GB, free: 3.828 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.04991, allocations: 473.3 kB / 0.811 GB, free: 3.359 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.05013, allocations: 178.4 kB / 0.8112 GB, free: 3.184 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.05046, allocations: 210.5 kB / 0.8114 GB, free: 2.973 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002248/0.05069, allocations: 349.9 kB / 0.8117 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009765/0.05166, allocations: 0.6465 MB / 0.8124 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.05301, allocations: 0.9749 MB / 0.8133 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/0.05525, allocations: 1.584 MB / 0.8149 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.05526, allocations: 4 kB / 0.8149 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003065/0.05832, allocations: 1.83 MB / 0.8166 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.05835, allocations: 12 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.232e-05/0.05838, allocations: 12 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.05876, allocations: 56.81 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.06004, allocations: 271.8 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/0.06579, allocations: 6.71 MB / 0.8235 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.0671, allocations: 135 kB / 0.8237 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/0.06718, allocations: 39.98 kB / 0.8237 GB, free: 5.758 MB / 0.7761 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.0005282/0.06771, allocations: 305.8 kB / 0.824 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.06794, allocations: 131.2 kB / 0.8241 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.0694, allocations: 0.8389 MB / 0.8249 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.06941, allocations: 11.88 kB / 0.8249 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.06941, allocations: 4 kB / 0.825 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.06942, allocations: 0 / 0.825 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.07056, allocations: 0.6755 MB / 0.8256 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.07057, allocations: 0 / 0.8256 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/0.07116, allocations: 107.9 kB / 0.8257 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.07143, allocations: 48.81 kB / 0.8258 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.07147, allocations: 12 kB / 0.8258 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.07286, allocations: 1.322 MB / 0.8271 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.07287, allocations: 3.984 kB / 0.8271 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.07501, allocations: 1.382 MB / 0.8284 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004864/0.0755, allocations: 199 kB / 0.8286 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.07564, allocations: 19.98 kB / 0.8286 GB, free: 0.5391 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.07627, allocations: 27.95 kB / 0.8287 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.07637, allocations: 27.95 kB / 0.8287 GB, free: 496 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.0764, allocations: 15.98 kB / 0.8287 GB, free: 480 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001404/0.0778, allocations: 0.8274 MB / 0.8295 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.0778, allocations: 3.938 kB / 0.8295 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001136/0.07894, allocations: 371.6 kB / 0.8299 GB, free: 15.27 MB / 0.7917 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.0006876/0.07963, allocations: 290.7 kB / 0.8301 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00295/0.08258, allocations: 1.393 MB / 0.8315 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.08258, allocations: 0 / 0.8315 GB, free: 13.56 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006903/0.08327, allocations: 462.5 kB / 0.8319 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.0845, allocations: 243.9 kB / 0.8322 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.08847, allocations: 2.318 MB / 0.8344 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.08914, allocations: 0.5068 MB / 0.8349 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005975/0.08973, allocations: 207.1 kB / 0.8351 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.08997, allocations: 68.48 kB / 0.8352 GB, free: 9.695 MB / 0.7917 GB Notification: Performance of SimCode: time 1.202e-06/0.08997, allocations: 0 / 0.8352 GB, free: 9.695 MB / 0.7917 GB Notification: Performance of Templates: time 0.03139/0.1214, allocations: 15.58 MB / 0.8504 GB, free: 10.44 MB / 0.8073 GB " [Timeout remaining time 300] 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/jenkins/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: 8.488159716012888]