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.001421/0.001421, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001603/0.001603, allocations: 157.5 kB / 23.01 MB, free: 4.945 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.564/1.564, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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 2.987/2.987, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 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.002139/0.002139, allocations: 79.88 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9331/0.9353, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004708/0.94, allocations: 3.971 MB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004612/0.9446, allocations: 2.847 MB / 1.193 GB, free: 11.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005931/0.9452, allocations: 33.12 kB / 1.193 GB, free: 11.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009904/0.9462, allocations: 342.2 kB / 1.194 GB, free: 11.54 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.9478, allocations: 0.7132 MB / 1.194 GB, free: 11.15 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.9496, allocations: 0.6579 MB / 1.195 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002432/0.9521, allocations: 1.901 MB / 1.197 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.9523, allocations: 116.8 kB / 1.197 GB, free: 10 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.9534, allocations: 0.6019 MB / 1.197 GB, free: 9.766 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.9544, allocations: 0.683 MB / 1.198 GB, free: 9.512 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.9546, allocations: 78 kB / 1.198 GB, free: 9.512 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000904/0.9555, allocations: 406.5 kB / 1.199 GB, free: 9.426 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005795/0.9561, allocations: 487.6 kB / 1.199 GB, free: 9.242 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006209/0.9567, allocations: 0.5007 MB / 1.2 GB, free: 8.992 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.9587, allocations: 1.499 MB / 1.201 GB, free: 8.441 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.9587, allocations: 0 / 1.201 GB, free: 8.441 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.582e-06/0.9587, allocations: 1.25 kB / 1.201 GB, free: 8.441 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.9587, allocations: 0.9844 kB / 1.201 GB, free: 8.441 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.003272/0.962, allocations: 1.606 MB / 1.203 GB, free: 7.445 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.962, allocations: 9.312 kB / 1.203 GB, free: 7.445 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004069/0.9625, allocations: 152.6 kB / 1.203 GB, free: 7.367 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.9638, allocations: 0.7826 MB / 1.204 GB, free: 6.891 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.9638, allocations: 48.44 kB / 1.204 GB, free: 6.867 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.9639, allocations: 62.02 kB / 1.204 GB, free: 6.848 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009535/0.9649, allocations: 0.6164 MB / 1.204 GB, free: 6.613 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.9649, allocations: 4 kB / 1.204 GB, free: 6.609 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.9649, allocations: 19.97 kB / 1.204 GB, free: 6.594 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.965, allocations: 13.81 kB / 1.204 GB, free: 6.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.9657, allocations: 0.5632 MB / 1.205 GB, free: 6.449 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.004032/0.9698, allocations: 2.235 MB / 1.207 GB, free: 5.355 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.9711, allocations: 0.8131 MB / 1.208 GB, free: 5.125 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.9715, allocations: 336.9 kB / 1.208 GB, free: 5.039 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.351e-05/0.9716, allocations: 26.16 kB / 1.208 GB, free: 5.035 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.9716, allocations: 41.91 kB / 1.208 GB, free: 4.988 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.9716, allocations: 0 / 1.208 GB, free: 4.988 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.001748/0.9734, allocations: 1.11 MB / 1.209 GB, free: 4.656 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.9734, allocations: 56.53 kB / 1.209 GB, free: 4.594 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.9751, allocations: 1.245 MB / 1.211 GB, free: 4.105 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.9751, allocations: 41.23 kB / 1.211 GB, free: 4.062 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.9754, allocations: 469.2 kB / 1.211 GB, free: 3.695 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.9756, allocations: 179.6 kB / 1.211 GB, free: 3.555 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.9759, allocations: 212.5 kB / 1.211 GB, free: 3.461 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.976, allocations: 356.1 kB / 1.212 GB, free: 3.133 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000828/0.9768, allocations: 0.6419 MB / 1.212 GB, free: 2.938 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.9777, allocations: 0.9737 MB / 1.213 GB, free: 2.324 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.9793, allocations: 1.587 MB / 1.215 GB, free: 1.445 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.9793, allocations: 2.906 kB / 1.215 GB, free: 1.445 MB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002522/0.9819, allocations: 1.79 MB / 1.217 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.9819, allocations: 9.469 kB / 1.217 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.9819, allocations: 12.7 kB / 1.217 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.9821, allocations: 45.28 kB / 1.217 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.9833, allocations: 272.4 kB / 1.217 GB, free: 0.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004559/0.9878, allocations: 6.703 MB / 1.223 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9892, allocations: 135.6 kB / 1.224 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.895e-05/0.9893, allocations: 42.52 kB / 1.224 GB, free: 10.49 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.0005946/0.9899, allocations: 308.3 kB / 1.224 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.9902, allocations: 116.5 kB / 1.224 GB, free: 10.22 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.9916, allocations: 0.8472 MB / 1.225 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9916, allocations: 4.312 kB / 1.225 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.9916, allocations: 1.156 kB / 1.225 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.9916, allocations: 2.625 kB / 1.225 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.993, allocations: 0.6804 MB / 1.226 GB, free: 9.629 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.993, allocations: 1.094 kB / 1.226 GB, free: 9.629 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.9935, allocations: 114 kB / 1.226 GB, free: 9.617 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.9937, allocations: 43.02 kB / 1.226 GB, free: 9.594 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.9937, allocations: 13.3 kB / 1.226 GB, free: 9.59 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.9949, allocations: 1.31 MB / 1.227 GB, free: 8.332 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9949, allocations: 0 / 1.227 GB, free: 8.332 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.9969, allocations: 1.386 MB / 1.228 GB, free: 7.816 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/0.9976, allocations: 188.2 kB / 1.229 GB, free: 7.715 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.9978, allocations: 16.05 kB / 1.229 GB, free: 7.707 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007201/0.9985, allocations: 28.02 kB / 1.229 GB, free: 7.703 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/0.9986, allocations: 30.66 kB / 1.229 GB, free: 7.699 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.9986, allocations: 17.22 kB / 1.229 GB, free: 7.691 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001805/1, allocations: 0.8294 MB / 1.229 GB, free: 7.367 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.1e-08/1, allocations: 0 / 1.229 GB, free: 7.367 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002292/1.003, allocations: 368.6 kB / 1.23 GB, free: 7.32 MB / 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.0008424/1.004, allocations: 279.8 kB / 1.23 GB, free: 7.184 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002732/1.006, allocations: 1.392 MB / 1.231 GB, free: 6.68 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.006, allocations: 1.25 kB / 1.231 GB, free: 6.68 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006582/1.007, allocations: 464.6 kB / 1.232 GB, free: 6.484 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/1.008, allocations: 222.2 kB / 1.232 GB, free: 6.395 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/1.013, allocations: 2.548 MB / 1.235 GB, free: 4.957 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/1.013, allocations: 0.4991 MB / 1.235 GB, free: 4.82 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000631/1.014, allocations: 197.6 kB / 1.235 GB, free: 4.797 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/1.014, allocations: 73.42 kB / 1.235 GB, free: 4.781 MB / 1.092 GB Notification: Performance of SimCode: time 6.31e-07/1.014, allocations: 4 kB / 1.235 GB, free: 4.777 MB / 1.092 GB Notification: Performance of Templates: time 0.03246/1.047, allocations: 15.71 MB / 1.251 GB, free: 14.66 MB / 1.107 GB " [Timeout remaining time 299] 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 -s ida -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: 9.667032761033624]