Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001386/0.001386, 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.001501/0.001501, allocations: 222.9 kB / 23 MB, free: 4.91 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.227/3.227, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002087/0.002087, allocations: 68.83 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.321, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005969/0.327, allocations: 3.964 MB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005229/0.3322, allocations: 2.84 MB / 1.371 GB, free: 6.789 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00052/0.3327, allocations: 31.75 kB / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.3338, allocations: 349.7 kB / 1.372 GB, free: 6.414 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.3354, allocations: 0.7039 MB / 1.372 GB, free: 5.707 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.337, allocations: 0.6588 MB / 1.373 GB, free: 5.047 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002147/0.3391, allocations: 1.906 MB / 1.375 GB, free: 3.137 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.3394, allocations: 122.3 kB / 1.375 GB, free: 3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008328/0.3402, allocations: 0.5996 MB / 1.375 GB, free: 2.398 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.3412, allocations: 0.6771 MB / 1.376 GB, free: 1.719 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.3414, allocations: 87.94 kB / 1.376 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007401/0.3421, allocations: 415.4 kB / 1.377 GB, free: 1.227 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005888/0.3427, allocations: 482.6 kB / 1.377 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.3432, allocations: 0.4975 MB / 1.378 GB, free: 260 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.3449, allocations: 1.502 MB / 1.379 GB, free: 14.75 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3449, allocations: 0 / 1.379 GB, free: 14.75 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3449, allocations: 4 kB / 1.379 GB, free: 14.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.3449, allocations: 0 / 1.379 GB, free: 14.74 MB / 1.076 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.003176/0.3481, allocations: 1.602 MB / 1.381 GB, free: 13.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3481, allocations: 8.031 kB / 1.381 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003928/0.3485, allocations: 156 kB / 1.381 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.35, allocations: 0.7742 MB / 1.382 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.35, allocations: 49.31 kB / 1.382 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3502, allocations: 60.38 kB / 1.382 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/0.3511, allocations: 0.6178 MB / 1.382 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.3511, allocations: 0 / 1.382 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.3511, allocations: 20 kB / 1.382 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3511, allocations: 12 kB / 1.382 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008213/0.352, allocations: 0.5582 MB / 1.383 GB, free: 10.8 MB / 1.076 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.004186/0.3562, allocations: 2.246 MB / 1.385 GB, free: 8.508 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.3576, allocations: 0.7971 MB / 1.386 GB, free: 7.699 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.358, allocations: 345.4 kB / 1.386 GB, free: 7.359 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.77e-05/0.3581, allocations: 28.36 kB / 1.386 GB, free: 7.332 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3581, allocations: 34.88 kB / 1.386 GB, free: 7.289 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 1.874e-06/0.3581, allocations: 4 kB / 1.386 GB, free: 7.285 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.0018/0.3599, allocations: 1.109 MB / 1.387 GB, free: 6.168 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.36, allocations: 59.39 kB / 1.387 GB, free: 6.098 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.3616, allocations: 1.243 MB / 1.389 GB, free: 4.844 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.3617, allocations: 41.7 kB / 1.389 GB, free: 4.797 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/0.3621, allocations: 469.2 kB / 1.389 GB, free: 4.332 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.3623, allocations: 178.5 kB / 1.389 GB, free: 4.156 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.3626, allocations: 218.5 kB / 1.389 GB, free: 3.938 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3627, allocations: 353.9 kB / 1.39 GB, free: 3.586 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008662/0.3636, allocations: 0.6426 MB / 1.39 GB, free: 2.941 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.3647, allocations: 0.9746 MB / 1.391 GB, free: 1.824 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.3666, allocations: 1.59 MB / 1.393 GB, free: 88 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.3667, allocations: 4 kB / 1.393 GB, free: 84 kB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002516/0.3692, allocations: 1.787 MB / 1.395 GB, free: 14.28 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3692, allocations: 13.56 kB / 1.395 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.3692, allocations: 12 kB / 1.395 GB, free: 14.26 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.3694, allocations: 44.83 kB / 1.395 GB, free: 14.21 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.3706, allocations: 264 kB / 1.395 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/0.3752, allocations: 6.71 MB / 1.401 GB, free: 6.953 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000998/0.3762, allocations: 135 kB / 1.402 GB, free: 6.82 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.3763, allocations: 40 kB / 1.402 GB, free: 6.781 MB / 1.092 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.0004276/0.3767, allocations: 310.8 kB / 1.402 GB, free: 6.469 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.3769, allocations: 127 kB / 1.402 GB, free: 6.348 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.3782, allocations: 0.8335 MB / 1.403 GB, free: 5.5 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3782, allocations: 8 kB / 1.403 GB, free: 5.492 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3782, allocations: 3.984 kB / 1.403 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3782, allocations: 0 / 1.403 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000927/0.3791, allocations: 0.6756 MB / 1.404 GB, free: 4.785 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3791, allocations: 0 / 1.404 GB, free: 4.785 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.3797, allocations: 111.8 kB / 1.404 GB, free: 4.676 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.3798, allocations: 40.77 kB / 1.404 GB, free: 4.633 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.3798, allocations: 16 kB / 1.404 GB, free: 4.617 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.3809, allocations: 1.315 MB / 1.405 GB, free: 3.199 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3809, allocations: 3.984 kB / 1.405 GB, free: 3.195 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.3827, allocations: 1.378 MB / 1.406 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.3832, allocations: 187.1 kB / 1.407 GB, free: 1.617 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.3833, allocations: 19.98 kB / 1.407 GB, free: 1.598 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.384, allocations: 23.97 kB / 1.407 GB, free: 1.574 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.384, allocations: 31.94 kB / 1.407 GB, free: 1.543 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.3841, allocations: 15.94 kB / 1.407 GB, free: 1.527 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001209/0.3853, allocations: 0.8311 MB / 1.407 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3853, allocations: 0 / 1.407 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009794/0.3863, allocations: 375.6 kB / 1.408 GB, free: 332 kB / 1.092 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.0005242/0.3868, allocations: 270.8 kB / 1.408 GB, free: 48 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002459/0.3892, allocations: 1.397 MB / 1.409 GB, free: 14.62 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3892, allocations: 4.062 kB / 1.409 GB, free: 14.62 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006071/0.3898, allocations: 462.3 kB / 1.41 GB, free: 14.16 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3909, allocations: 228.9 kB / 1.41 GB, free: 13.94 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.3946, allocations: 2.617 MB / 1.413 GB, free: 11.29 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.3952, allocations: 0.5107 MB / 1.413 GB, free: 10.74 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3954, allocations: 67.44 kB / 1.413 GB, free: 10.68 MB / 1.107 GB Notification: Performance of SimCode: time 5.81e-07/0.3954, allocations: 0 / 1.413 GB, free: 10.68 MB / 1.107 GB Notification: Performance of Templates: time 0.03847/0.4339, allocations: 31.42 MB / 1.444 GB, free: 11.29 MB / 1.139 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.95089018624276]