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.0009137/0.0009137, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002304, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009598/0.0009598, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001261/0.002221, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9807/0.9807, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08355/1.064, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.302/2.302, allocations: 447.1 MB / 0.675 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2359/2.537, allocations: 146 MB / 0.8176 GB, free: 3.793 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|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.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.535e-05, allocations: 4.844 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004804/0.00482, allocations: 4.389 MB / 0.8232 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.008397, allocations: 3.016 MB / 0.8261 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/0.008701, allocations: 27.75 kB / 0.8262 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.009298, allocations: 361.6 kB / 0.8265 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0008965/0.01019, allocations: 0.7268 MB / 0.8272 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.01105, allocations: 0.6351 MB / 0.8278 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.01247, allocations: 1.925 MB / 0.8297 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.01265, allocations: 127 kB / 0.8298 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009572/0.01361, allocations: 1.104 MB / 0.8309 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006082/0.01422, allocations: 0.604 MB / 0.8315 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.641e-05/0.01432, allocations: 80 kB / 0.8316 GB, free: 5.406 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.01486, allocations: 439.2 kB / 0.832 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000303/0.01516, allocations: 450.8 kB / 0.8324 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.01543, allocations: 339.2 kB / 0.8328 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000825/0.01625, allocations: 1.043 MB / 0.8338 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.01626, allocations: 0 / 0.8338 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.172e-06/0.01626, allocations: 0 / 0.8338 GB, free: 3.156 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.01628, allocations: 0 / 0.8338 GB, free: 3.156 MB / 0.8073 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.001705/0.01799, allocations: 1.768 MB / 0.8355 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001754/0.01816, allocations: 16.03 kB / 0.8355 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002858/0.01845, allocations: 205.9 kB / 0.8357 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.0191, allocations: 0.6194 MB / 0.8363 GB, free: 476 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.01912, allocations: 45.38 kB / 0.8364 GB, free: 432 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.01919, allocations: 64.36 kB / 0.8364 GB, free: 368 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.01951, allocations: 336 kB / 0.8367 GB, free: 4 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.01952, allocations: 4.188 kB / 0.8367 GB, free: 0 / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.01956, allocations: 20.2 kB / 0.8368 GB, free: 15.98 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.01957, allocations: 12 kB / 0.8368 GB, free: 15.96 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.01971, allocations: 121.7 kB / 0.8369 GB, free: 15.85 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.02129, allocations: 1.539 MB / 0.8384 GB, free: 14.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.02182, allocations: 409.6 kB / 0.8388 GB, free: 13.85 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.02191, allocations: 73.59 kB / 0.8389 GB, free: 13.78 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/0.02197, allocations: 32.3 kB / 0.8389 GB, free: 13.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.02199, allocations: 38.94 kB / 0.8389 GB, free: 13.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 1.443e-06/0.02199, allocations: 0 / 0.8389 GB, free: 13.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.0004879/0.02248, allocations: 319.2 kB / 0.8392 GB, free: 13.38 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.02251, allocations: 59.41 kB / 0.8393 GB, free: 13.31 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.02312, allocations: 0.9435 MB / 0.8402 GB, free: 12.36 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.02315, allocations: 41.7 kB / 0.8402 GB, free: 12.31 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.02333, allocations: 327.2 kB / 0.8406 GB, free: 11.98 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.02344, allocations: 190.3 kB / 0.8407 GB, free: 11.79 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.02359, allocations: 198.4 kB / 0.8409 GB, free: 11.59 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.02369, allocations: 357.8 kB / 0.8413 GB, free: 11.24 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.02386, allocations: 165.1 kB / 0.8414 GB, free: 11.08 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.02416, allocations: 498.5 kB / 0.8419 GB, free: 10.45 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006727/0.02483, allocations: 0.7501 MB / 0.8426 GB, free: 9.551 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.02484, allocations: 4 kB / 0.8426 GB, free: 9.547 MB / 0.823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0006698/0.02551, allocations: 0.738 MB / 0.8434 GB, free: 8.793 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.02553, allocations: 8 kB / 0.8434 GB, free: 8.785 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.02554, allocations: 12 kB / 0.8434 GB, free: 8.773 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.02571, allocations: 48.09 kB / 0.8434 GB, free: 8.723 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.02637, allocations: 303.5 kB / 0.8437 GB, free: 8.426 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.02858, allocations: 6.08 MB / 0.8497 GB, free: 2.047 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.02896, allocations: 119 kB / 0.8498 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.02899, allocations: 31.98 kB / 0.8498 GB, free: 1.898 MB / 0.823 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.0001465/0.02914, allocations: 168.4 kB / 0.85 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.02922, allocations: 67.92 kB / 0.85 GB, free: 1.656 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003434/0.02956, allocations: 317 kB / 0.8503 GB, free: 1.332 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.02956, allocations: 12 kB / 0.8503 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.02957, allocations: 0 / 0.8503 GB, free: 1.32 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.02957, allocations: 3.984 kB / 0.8503 GB, free: 1.316 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.02995, allocations: 418.8 kB / 0.8507 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02995, allocations: 0 / 0.8507 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.03029, allocations: 158.3 kB / 0.8509 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.03048, allocations: 151 kB / 0.851 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.03058, allocations: 31.66 kB / 0.8511 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.0306, allocations: 15.98 kB / 0.8511 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005208/0.03112, allocations: 1.219 MB / 0.8523 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03113, allocations: 0 / 0.8523 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.03154, allocations: 497.5 kB / 0.8527 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.03161, allocations: 12 kB / 0.8528 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.03183, allocations: 19.92 kB / 0.8528 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.03188, allocations: 39.81 kB / 0.8528 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.0319, allocations: 4.094 kB / 0.8528 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003256/0.03222, allocations: 470.2 kB / 0.8533 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.03222, allocations: 0 / 0.8533 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005702/0.03279, allocations: 371.6 kB / 0.8536 GB, free: 13.82 MB / 0.8386 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.0003589/0.03315, allocations: 275.9 kB / 0.8539 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000845/0.03399, allocations: 0.7375 MB / 0.8546 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/0.03401, allocations: 15.98 kB / 0.8546 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.03425, allocations: 307.2 kB / 0.8549 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.03556, allocations: 2.292 MB / 0.8571 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.04256, allocations: 1.715 MB / 0.8588 GB, free: 7.922 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.0427, allocations: 239.2 kB / 0.8591 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002296/0.04293, allocations: 119.4 kB / 0.8592 GB, free: 7.547 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.04335, allocations: 265.2 kB / 0.8594 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/0.04335, allocations: 0 / 0.8594 GB, free: 7.285 MB / 0.8386 GB Notification: Performance of Templates: time 0.02438/0.06774, allocations: 18.33 MB / 0.8773 GB, free: 5.309 MB / 0.8542 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.52779873367399]