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.001645/0.001645, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001809/0.001809, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.521/1.521, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 443.4 MB / 0.7304 GB, free: 13.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002086/0.002086, allocations: 71.88 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3714, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006439/0.3778, allocations: 4.397 MB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006332/0.3842, allocations: 2.973 MB / 1.223 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008432/0.385, allocations: 23.88 kB / 1.223 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.3863, allocations: 361.7 kB / 1.224 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.3882, allocations: 0.6571 MB / 1.224 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.3901, allocations: 0.6275 MB / 1.225 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00276/0.3929, allocations: 1.89 MB / 1.227 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.3932, allocations: 129.8 kB / 1.227 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.3944, allocations: 0.5918 MB / 1.227 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.3955, allocations: 0.6967 MB / 1.228 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.3957, allocations: 76 kB / 1.228 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009062/0.3966, allocations: 427.4 kB / 1.229 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006199/0.3972, allocations: 478.5 kB / 1.229 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006807/0.3979, allocations: 0.6023 MB / 1.23 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.3998, allocations: 1.482 MB / 1.231 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3998, allocations: 0 / 1.231 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3998, allocations: 0 / 1.231 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.3998, allocations: 0 / 1.231 GB, free: 15.85 MB / 0.9825 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.003164/0.403, allocations: 1.658 MB / 1.233 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.403, allocations: 12.03 kB / 1.233 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.4033, allocations: 140 kB / 1.233 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.4049, allocations: 0.8475 MB / 1.234 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.4049, allocations: 45.31 kB / 1.234 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.405, allocations: 64.38 kB / 1.234 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4061, allocations: 0.6179 MB / 1.234 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.4061, allocations: 0 / 1.234 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.4061, allocations: 16 kB / 1.234 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4061, allocations: 8 kB / 1.234 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.407, allocations: 0.5582 MB / 1.235 GB, free: 11.77 MB / 0.9825 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.0053/0.4123, allocations: 3.287 MB / 1.238 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.4137, allocations: 0.8093 MB / 1.239 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.4142, allocations: 345.4 kB / 1.239 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/0.4143, allocations: 32.3 kB / 1.239 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.4143, allocations: 38.92 kB / 1.239 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=45): time 2.494e-06/0.4143, allocations: 0 / 1.239 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.001945/0.4163, allocations: 1.187 MB / 1.241 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4163, allocations: 55.41 kB / 1.241 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.418, allocations: 1.231 MB / 1.242 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.4181, allocations: 41.7 kB / 1.242 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.4185, allocations: 465.3 kB / 1.242 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.4187, allocations: 186.4 kB / 1.242 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.4189, allocations: 210.6 kB / 1.243 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4191, allocations: 349.9 kB / 1.243 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008815/0.42, allocations: 0.6426 MB / 1.244 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.4212, allocations: 0.9747 MB / 1.245 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.4231, allocations: 1.586 MB / 1.246 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.4231, allocations: 4 kB / 1.246 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002508/0.4256, allocations: 1.792 MB / 1.248 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4256, allocations: 8 kB / 1.248 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.4256, allocations: 12 kB / 1.248 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002057/0.4258, allocations: 40.84 kB / 1.248 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.427, allocations: 272 kB / 1.248 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004903/0.4319, allocations: 6.844 MB / 1.255 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.433, allocations: 123.1 kB / 1.255 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.433, allocations: 40 kB / 1.255 GB, free: 6.27 MB / 0.9981 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.0004873/0.4335, allocations: 313.5 kB / 1.255 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.4337, allocations: 119.2 kB / 1.255 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.4351, allocations: 0.8424 MB / 1.256 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4351, allocations: 4 kB / 1.256 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4351, allocations: 0 / 1.256 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.4351, allocations: 7.984 kB / 1.256 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.4363, allocations: 0.9113 MB / 1.257 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4363, allocations: 4 kB / 1.257 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.4369, allocations: 111.9 kB / 1.257 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.437, allocations: 28.83 kB / 1.257 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.437, allocations: 23.92 kB / 1.257 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.4383, allocations: 1.433 MB / 1.259 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4383, allocations: 3.984 kB / 1.259 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.4401, allocations: 1.374 MB / 1.26 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/0.4406, allocations: 268.1 kB / 1.26 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.4407, allocations: 11.94 kB / 1.26 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/0.4412, allocations: 39.89 kB / 1.26 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.4413, allocations: 23.97 kB / 1.26 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.4413, allocations: 23.98 kB / 1.26 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.6555/1.097, allocations: 0.8087 MB / 1.261 GB, free: 48.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.097, allocations: 1.156 kB / 1.261 GB, free: 48.26 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002011/1.099, allocations: 369.3 kB / 1.262 GB, free: 48.26 MB / 0.9981 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.0006047/1.099, allocations: 269.2 kB / 1.262 GB, free: 48.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002349/1.102, allocations: 1.389 MB / 1.263 GB, free: 48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.102, allocations: 0 / 1.263 GB, free: 48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004941/1.102, allocations: 466.4 kB / 1.264 GB, free: 47.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/1.104, allocations: 232.2 kB / 1.264 GB, free: 47.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/1.107, allocations: 2.568 MB / 1.266 GB, free: 46.79 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/1.107, allocations: 1.096 MB / 1.267 GB, free: 46.08 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005876/1.108, allocations: 205.9 kB / 1.268 GB, free: 46.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.108, allocations: 64.84 kB / 1.268 GB, free: 46.05 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/1.108, allocations: 0 / 1.268 GB, free: 46.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.04066/1.149, allocations: 15 MB / 1.282 GB, free: 45.22 MB / 0.9981 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.66770581714809]