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.001454/0.001454, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001915/0.001915, allocations: 220 kB / 22.99 MB, free: 4.914 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.805/2.805, allocations: 476 MB / 0.7707 GB, free: 4.742 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.002115/0.002115, allocations: 68 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.316, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005783/0.3218, allocations: 3.968 MB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005381/0.3272, allocations: 2.836 MB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004496/0.3276, allocations: 31.75 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009671/0.3286, allocations: 349.8 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.3302, allocations: 0.6962 MB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.3318, allocations: 0.6647 MB / 1.292 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002333/0.3341, allocations: 1.906 MB / 1.294 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.3344, allocations: 114.3 kB / 1.294 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009957/0.3354, allocations: 0.6074 MB / 1.295 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.3365, allocations: 0.6771 MB / 1.295 GB, free: 52 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.3366, allocations: 80.05 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008364/0.3375, allocations: 407.4 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000581/0.3381, allocations: 490.5 kB / 1.296 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005839/0.3386, allocations: 0.4975 MB / 1.297 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.3404, allocations: 1.498 MB / 1.298 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3404, allocations: 0 / 1.298 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3405, allocations: 0 / 1.298 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.3405, allocations: 0 / 1.298 GB, free: 13.09 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.003301/0.3438, allocations: 1.61 MB / 1.3 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3438, allocations: 8.031 kB / 1.3 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003936/0.3442, allocations: 148 kB / 1.3 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.3457, allocations: 0.782 MB / 1.301 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.3458, allocations: 45.38 kB / 1.301 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.3459, allocations: 64.33 kB / 1.301 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/0.3468, allocations: 0.6139 MB / 1.301 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3468, allocations: 0 / 1.301 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.3469, allocations: 23.98 kB / 1.301 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3469, allocations: 12 kB / 1.301 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008291/0.3477, allocations: 0.5504 MB / 1.302 GB, free: 9.145 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.004328/0.3521, allocations: 2.246 MB / 1.304 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.3535, allocations: 0.8192 MB / 1.305 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.354, allocations: 348.2 kB / 1.305 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-05/0.3541, allocations: 20.36 kB / 1.305 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.3541, allocations: 46.86 kB / 1.305 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.504e-06/0.3541, allocations: 0 / 1.305 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.001928/0.3561, allocations: 1.115 MB / 1.306 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3561, allocations: 55.41 kB / 1.306 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.3579, allocations: 1.243 MB / 1.308 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-05/0.358, allocations: 37.7 kB / 1.308 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000428/0.3584, allocations: 469.3 kB / 1.308 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.3586, allocations: 182.4 kB / 1.308 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.3589, allocations: 210.6 kB / 1.309 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.359, allocations: 349.9 kB / 1.309 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008865/0.3599, allocations: 0.6426 MB / 1.31 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.3611, allocations: 0.9707 MB / 1.31 GB, free: 164 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.3631, allocations: 1.59 MB / 1.312 GB, free: 14.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.3631, allocations: 4 kB / 1.312 GB, free: 14.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002633/0.3658, allocations: 1.787 MB / 1.314 GB, free: 12.63 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3658, allocations: 8 kB / 1.314 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/0.3658, allocations: 16.12 kB / 1.314 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.366, allocations: 48.83 kB / 1.314 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.3672, allocations: 263.7 kB / 1.314 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00487/0.372, allocations: 6.71 MB / 1.321 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.3732, allocations: 139.1 kB / 1.321 GB, free: 5.164 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.3733, allocations: 39.98 kB / 1.321 GB, free: 5.125 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.000478/0.3738, allocations: 309.4 kB / 1.321 GB, free: 4.812 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.374, allocations: 115.2 kB / 1.321 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.3753, allocations: 0.8388 MB / 1.322 GB, free: 3.844 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.3753, allocations: 8 kB / 1.322 GB, free: 3.836 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3753, allocations: 8 kB / 1.322 GB, free: 3.828 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3753, allocations: 3.984 kB / 1.322 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009853/0.3763, allocations: 0.6756 MB / 1.323 GB, free: 3.121 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3763, allocations: 0 / 1.323 GB, free: 3.121 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.3768, allocations: 111.8 kB / 1.323 GB, free: 3.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/0.3769, allocations: 32.78 kB / 1.323 GB, free: 2.977 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.377, allocations: 15.98 kB / 1.323 GB, free: 2.961 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.3782, allocations: 1.318 MB / 1.324 GB, free: 1.539 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3782, allocations: 0 / 1.324 GB, free: 1.539 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001878/0.38, allocations: 1.378 MB / 1.326 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/0.3805, allocations: 191.2 kB / 1.326 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.3807, allocations: 15.98 kB / 1.326 GB, free: 15.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006359/0.3813, allocations: 32.12 kB / 1.326 GB, free: 15.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.3814, allocations: 31.94 kB / 1.326 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.3814, allocations: 15.69 kB / 1.326 GB, free: 15.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001245/0.3827, allocations: 0.8311 MB / 1.327 GB, free: 15.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3827, allocations: 0 / 1.327 GB, free: 15.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001053/0.3837, allocations: 367.6 kB / 1.327 GB, free: 14.66 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.0005266/0.3843, allocations: 266.8 kB / 1.327 GB, free: 14.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002576/0.3868, allocations: 1.393 MB / 1.329 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3868, allocations: 0 / 1.329 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006354/0.3875, allocations: 466.5 kB / 1.329 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3885, allocations: 240.8 kB / 1.329 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.3925, allocations: 2.637 MB / 1.332 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.3931, allocations: 0.5029 MB / 1.332 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.3934, allocations: 63.44 kB / 1.332 GB, free: 9 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.3934, allocations: 0 / 1.332 GB, free: 9 MB / 1.029 GB Notification: Performance of Templates: time 0.04058/0.4339, allocations: 31.42 MB / 1.363 GB, free: 9.613 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.77368809003383]