Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008955/0.0008955, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001976, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007083/0.0007083, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009889/0.001697, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9852/0.9852, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08631/1.072, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.858/1.858, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5115/2.37, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.002e-05, allocations: 2.859 kB / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003987/0.004007, allocations: 4.392 MB / 0.7339 GB, free: 68 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.007277, allocations: 3.019 MB / 0.7369 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.007501, allocations: 27.75 kB / 0.7369 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005665/0.008068, allocations: 363.7 kB / 0.7372 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008568/0.008924, allocations: 0.7283 MB / 0.7379 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.009665, allocations: 0.6382 MB / 0.7386 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001471/0.01114, allocations: 1.91 MB / 0.7404 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.01131, allocations: 135.1 kB / 0.7406 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008897/0.0122, allocations: 1.097 MB / 0.7416 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/0.01276, allocations: 0.6132 MB / 0.7422 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.084e-05/0.01285, allocations: 77.25 kB / 0.7423 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.01333, allocations: 435.3 kB / 0.7427 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002836/0.01361, allocations: 448.1 kB / 0.7432 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.01388, allocations: 339.2 kB / 0.7435 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007727/0.01465, allocations: 1.048 MB / 0.7445 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/0.01466, allocations: 0 / 0.7445 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01466, allocations: 0 / 0.7445 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.01467, allocations: 0 / 0.7445 GB, free: 5.199 MB / 0.7136 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.001603/0.01628, allocations: 1.759 MB / 0.7462 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.01631, allocations: 11.97 kB / 0.7462 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.01658, allocations: 213.9 kB / 0.7464 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008829/0.01747, allocations: 0.6189 MB / 0.747 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.01749, allocations: 41.38 kB / 0.7471 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.01755, allocations: 65.36 kB / 0.7471 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.01787, allocations: 339.9 kB / 0.7475 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01788, allocations: 192 / 0.7475 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.01791, allocations: 22.12 kB / 0.7475 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.01792, allocations: 16 kB / 0.7475 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.01806, allocations: 113.7 kB / 0.7476 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.01963, allocations: 1.55 MB / 0.7491 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.02011, allocations: 411.1 kB / 0.7495 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.0202, allocations: 85.56 kB / 0.7496 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.02025, allocations: 28.92 kB / 0.7496 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.02027, allocations: 39.56 kB / 0.7497 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.473e-06/0.02028, allocations: 0 / 0.7497 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0004662/0.02074, allocations: 323 kB / 0.75 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.02077, allocations: 56 kB / 0.75 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.02139, allocations: 0.9396 MB / 0.7509 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.02142, allocations: 43.2 kB / 0.751 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.0216, allocations: 327.2 kB / 0.7513 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.02171, allocations: 190.3 kB / 0.7515 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.02187, allocations: 194.5 kB / 0.7517 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.02198, allocations: 354.8 kB / 0.752 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.02215, allocations: 169 kB / 0.7522 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.02246, allocations: 498.5 kB / 0.7526 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.02352, allocations: 0.7494 MB / 0.7534 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.02353, allocations: 4 kB / 0.7534 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0006896/0.02422, allocations: 0.7343 MB / 0.7541 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.02424, allocations: 13 kB / 0.7541 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.02426, allocations: 8 kB / 0.7541 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001689/0.02442, allocations: 49.78 kB / 0.7542 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.02512, allocations: 304.8 kB / 0.7544 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.02711, allocations: 6.079 MB / 0.7604 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/0.02776, allocations: 119.9 kB / 0.7605 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.02779, allocations: 32 kB / 0.7605 GB, free: 4.008 MB / 0.7292 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.0001559/0.02795, allocations: 166 kB / 0.7607 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.02803, allocations: 75.92 kB / 0.7608 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/0.02836, allocations: 315.1 kB / 0.7611 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.02837, allocations: 4 kB / 0.7611 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.02837, allocations: 0 / 0.7611 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.02837, allocations: 4.609 kB / 0.7611 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.02875, allocations: 416.8 kB / 0.7615 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02875, allocations: 0 / 0.7615 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.02909, allocations: 155.7 kB / 0.7616 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.02928, allocations: 155 kB / 0.7618 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.02938, allocations: 37.53 kB / 0.7618 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.0294, allocations: 15.98 kB / 0.7618 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005258/0.02993, allocations: 1.214 MB / 0.763 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.02993, allocations: 4.719 kB / 0.763 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.03033, allocations: 0.4907 MB / 0.7635 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.0304, allocations: 16 kB / 0.7635 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.03063, allocations: 13.11 kB / 0.7635 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.03068, allocations: 31.88 kB / 0.7635 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.03069, allocations: 11.98 kB / 0.7635 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003292/0.03102, allocations: 466.8 kB / 0.764 GB, free: 308 kB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.03102, allocations: 5.062 kB / 0.764 GB, free: 304 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005685/0.03159, allocations: 367.6 kB / 0.7643 GB, free: 15.93 MB / 0.7449 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.0003619/0.03195, allocations: 274.3 kB / 0.7646 GB, free: 15.66 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0008655/0.03282, allocations: 0.7351 MB / 0.7653 GB, free: 14.89 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.03283, allocations: 16.91 kB / 0.7653 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.03308, allocations: 303.5 kB / 0.7656 GB, free: 14.56 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.03454, allocations: 2.302 MB / 0.7679 GB, free: 11.82 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007019/0.04156, allocations: 1.717 MB / 0.7696 GB, free: 10.08 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.04172, allocations: 237.7 kB / 0.7698 GB, free: 9.828 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0002325/0.04195, allocations: 124.1 kB / 0.7699 GB, free: 9.715 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.04234, allocations: 269.2 kB / 0.7702 GB, free: 9.453 MB / 0.7449 GB Notification: Performance of SimCode: time 6.51e-07/0.04235, allocations: 3.938 kB / 0.7702 GB, free: 9.449 MB / 0.7449 GB Notification: Performance of Templates: time 0.01922/0.06157, allocations: 18.31 MB / 0.788 GB, free: 7.527 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM/Buildings_12_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.332696849480271]