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.0008403/0.0008403, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.001986, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007289/0.0007289, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009057/0.001635, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9612/0.9612, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09079/1.052, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.814/1.814, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4925/2.306, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.713e-06/1.713e-06, allocations: 0 / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.07e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00604/0.006061, allocations: 4.387 MB / 0.7336 GB, free: 184 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005697/0.01176, allocations: 3.014 MB / 0.7365 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006352/0.01239, allocations: 27.75 kB / 0.7366 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009825/0.01337, allocations: 363.3 kB / 0.7369 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001717/0.01509, allocations: 0.7273 MB / 0.7376 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.01678, allocations: 0.6392 MB / 0.7382 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002407/0.01918, allocations: 1.922 MB / 0.7401 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003238/0.01951, allocations: 127.1 kB / 0.7402 GB, free: 9.359 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.02148, allocations: 1.098 MB / 0.7413 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.02253, allocations: 0.6094 MB / 0.7419 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.02271, allocations: 76 kB / 0.742 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008448/0.02356, allocations: 452.3 kB / 0.7424 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.02402, allocations: 438.9 kB / 0.7428 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.02457, allocations: 340.5 kB / 0.7431 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.02584, allocations: 1.051 MB / 0.7442 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.835e-05/0.02585, allocations: 0 / 0.7442 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.893e-06/0.02586, allocations: 0.9375 kB / 0.7442 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.113e-05/0.02589, allocations: 0 / 0.7442 GB, free: 5.305 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.002368/0.02825, allocations: 1.753 MB / 0.7459 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.0283, allocations: 10.47 kB / 0.7459 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.02868, allocations: 213.9 kB / 0.7461 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.02972, allocations: 0.6223 MB / 0.7467 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.02976, allocations: 45.38 kB / 0.7468 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.102e-05/0.02985, allocations: 61.31 kB / 0.7468 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.03028, allocations: 336 kB / 0.7471 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.03029, allocations: 6.594 kB / 0.7471 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.03033, allocations: 20.12 kB / 0.7472 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.03034, allocations: 12 kB / 0.7472 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.03054, allocations: 113.7 kB / 0.7473 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.03223, allocations: 1.538 MB / 0.7488 GB, free: 480 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.03273, allocations: 427.3 kB / 0.7492 GB, free: 40 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.03284, allocations: 82.05 kB / 0.7493 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.932e-05/0.0329, allocations: 23.94 kB / 0.7493 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.03292, allocations: 39.23 kB / 0.7493 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.533e-06/0.03292, allocations: 0 / 0.7493 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0005148/0.03343, allocations: 321.5 kB / 0.7496 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.03346, allocations: 56 kB / 0.7497 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/0.03409, allocations: 0.9372 MB / 0.7506 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.03413, allocations: 41.7 kB / 0.7506 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.03429, allocations: 331.1 kB / 0.751 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/0.03439, allocations: 186.3 kB / 0.7511 GB, free: 14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.03454, allocations: 199.6 kB / 0.7513 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.03462, allocations: 349.9 kB / 0.7517 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.03478, allocations: 173.1 kB / 0.7518 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.03506, allocations: 491.3 kB / 0.7523 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.03557, allocations: 0.7527 MB / 0.753 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.03558, allocations: 4 kB / 0.753 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0008101/0.03639, allocations: 0.7391 MB / 0.7538 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.03641, allocations: 8 kB / 0.7538 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.03642, allocations: 12 kB / 0.7538 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.0366, allocations: 49.22 kB / 0.7538 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.03729, allocations: 306.5 kB / 0.7541 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.03933, allocations: 6.071 MB / 0.76 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.03974, allocations: 120.1 kB / 0.7602 GB, free: 4.176 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.03977, allocations: 32 kB / 0.7602 GB, free: 4.145 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.0001543/0.03993, allocations: 173.5 kB / 0.7603 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.04001, allocations: 71.92 kB / 0.7604 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004937/0.0405, allocations: 323 kB / 0.7607 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.0405, allocations: 4 kB / 0.7607 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.04051, allocations: 4.75 kB / 0.7607 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.04051, allocations: 0 / 0.7607 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.0409, allocations: 415.4 kB / 0.7611 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0409, allocations: 4 kB / 0.7611 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.04124, allocations: 151.5 kB / 0.7613 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.04143, allocations: 151 kB / 0.7614 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.04154, allocations: 33.19 kB / 0.7615 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.04157, allocations: 15.98 kB / 0.7615 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005525/0.04212, allocations: 1.222 MB / 0.7627 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.04212, allocations: 0.875 kB / 0.7627 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.04252, allocations: 498.5 kB / 0.7631 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.04259, allocations: 16.59 kB / 0.7632 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.04282, allocations: 11.98 kB / 0.7632 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.04287, allocations: 32.88 kB / 0.7632 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.04288, allocations: 8 kB / 0.7632 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003183/0.0432, allocations: 470.1 kB / 0.7637 GB, free: 448 kB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.0432, allocations: 0.9062 kB / 0.7637 GB, free: 448 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006254/0.04382, allocations: 367.6 kB / 0.764 GB, free: 80 kB / 0.7292 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.0003722/0.0442, allocations: 275.7 kB / 0.7643 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008437/0.04504, allocations: 0.7283 MB / 0.765 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/0.04506, allocations: 20.84 kB / 0.765 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.04523, allocations: 227.9 kB / 0.7652 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.04583, allocations: 335 kB / 0.7655 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/0.05304, allocations: 1.712 MB / 0.7672 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.05319, allocations: 236.5 kB / 0.7674 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004222/0.05361, allocations: 118.6 kB / 0.7675 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.05401, allocations: 269.1 kB / 0.7678 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of SimCode: time 8.11e-07/0.05402, allocations: 0 / 0.7678 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of Templates: time 0.02008/0.07409, allocations: 17.87 MB / 0.7853 GB, free: 10.61 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.264370549470186]