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.001107/0.001107, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001663/0.00277, allocations: 435.8 kB / 10.33 MB, free: 368 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.0011/0.0011, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.00211, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9953/0.9953, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1229/1.118, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.508/2.508, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2926/2.801, allocations: 145.9 MB / 0.817 GB, free: 4.191 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 3.977e-06/3.977e-06, allocations: 3.984 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.704e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004333/0.00436, allocations: 4.401 MB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004519/0.00888, allocations: 3.011 MB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007146/0.009594, allocations: 31.75 kB / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008272/0.01042, allocations: 357.6 kB / 0.8259 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.01177, allocations: 0.7268 MB / 0.8266 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.01311, allocations: 0.6312 MB / 0.8272 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.01503, allocations: 1.921 MB / 0.8291 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.01528, allocations: 134.9 kB / 0.8292 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.01669, allocations: 1.096 MB / 0.8303 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006505/0.01734, allocations: 0.6078 MB / 0.8309 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.01744, allocations: 80 kB / 0.831 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006471/0.01809, allocations: 447.2 kB / 0.8314 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003218/0.01841, allocations: 446.9 kB / 0.8318 GB, free: 4.965 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.01874, allocations: 339.2 kB / 0.8321 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01979, allocations: 1.043 MB / 0.8331 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.0198, allocations: 0 / 0.8331 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.383e-06/0.0198, allocations: 0 / 0.8331 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.01983, allocations: 0 / 0.8331 GB, free: 3.586 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.001767/0.02159, allocations: 1.76 MB / 0.8349 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.02163, allocations: 8.625 kB / 0.8349 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.02187, allocations: 217.8 kB / 0.8351 GB, free: 1.559 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006932/0.02257, allocations: 0.6232 MB / 0.8357 GB, free: 0.8945 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.02259, allocations: 45.31 kB / 0.8357 GB, free: 0.8516 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.02265, allocations: 60.38 kB / 0.8358 GB, free: 0.793 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.02296, allocations: 336 kB / 0.8361 GB, free: 448 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.02297, allocations: 192 / 0.8361 GB, free: 448 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.02299, allocations: 20.12 kB / 0.8361 GB, free: 428 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.023, allocations: 8 kB / 0.8361 GB, free: 420 kB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.02314, allocations: 121.6 kB / 0.8363 GB, free: 300 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.02489, allocations: 1.535 MB / 0.8378 GB, free: 14.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.02534, allocations: 408.9 kB / 0.8381 GB, free: 14.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.02544, allocations: 86.69 kB / 0.8382 GB, free: 14.21 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.02549, allocations: 27.98 kB / 0.8383 GB, free: 14.18 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.02552, allocations: 38.56 kB / 0.8383 GB, free: 14.14 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 1.392e-06/0.02552, allocations: 0 / 0.8383 GB, free: 14.14 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.000447/0.02597, allocations: 309.7 kB / 0.8386 GB, free: 13.82 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.02599, allocations: 59.41 kB / 0.8386 GB, free: 13.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006187/0.02661, allocations: 0.9474 MB / 0.8396 GB, free: 12.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.02664, allocations: 41.7 kB / 0.8396 GB, free: 12.75 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.02681, allocations: 323.2 kB / 0.8399 GB, free: 12.43 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.02691, allocations: 190.3 kB / 0.8401 GB, free: 12.24 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.02707, allocations: 198.4 kB / 0.8403 GB, free: 12.04 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003801/0.02745, allocations: 353.8 kB / 0.8406 GB, free: 11.69 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.0276, allocations: 169.1 kB / 0.8408 GB, free: 11.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.02787, allocations: 494.5 kB / 0.8413 GB, free: 10.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.02837, allocations: 0.7501 MB / 0.842 GB, free: 10 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.02837, allocations: 4 kB / 0.842 GB, free: 10 MB / 0.823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0006621/0.02903, allocations: 0.7381 MB / 0.8427 GB, free: 9.246 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.02905, allocations: 12 kB / 0.8427 GB, free: 9.234 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.02907, allocations: 8 kB / 0.8427 GB, free: 9.227 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.02924, allocations: 47.66 kB / 0.8428 GB, free: 9.176 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/0.02991, allocations: 306.7 kB / 0.8431 GB, free: 8.879 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.03235, allocations: 6.072 MB / 0.849 GB, free: 2.508 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.03288, allocations: 119 kB / 0.8491 GB, free: 2.391 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.03292, allocations: 28 kB / 0.8491 GB, free: 2.363 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.0001922/0.03311, allocations: 172.3 kB / 0.8493 GB, free: 2.184 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.376e-05/0.0332, allocations: 75.86 kB / 0.8494 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003844/0.03359, allocations: 328.6 kB / 0.8497 GB, free: 1.773 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.03359, allocations: 4 kB / 0.8497 GB, free: 1.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.0336, allocations: 4.062 kB / 0.8497 GB, free: 1.766 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.0336, allocations: 3.984 kB / 0.8497 GB, free: 1.762 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004254/0.03403, allocations: 414.8 kB / 0.8501 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.03403, allocations: 0 / 0.8501 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.03437, allocations: 159.8 kB / 0.8502 GB, free: 1.184 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.03458, allocations: 151 kB / 0.8504 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.03468, allocations: 31.66 kB / 0.8504 GB, free: 1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.03471, allocations: 15.98 kB / 0.8504 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005705/0.03528, allocations: 1.22 MB / 0.8516 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.03528, allocations: 0 / 0.8516 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.03572, allocations: 497.7 kB / 0.8521 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.03579, allocations: 12 kB / 0.8521 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.03602, allocations: 19.98 kB / 0.8521 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.03606, allocations: 27.88 kB / 0.8522 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.03608, allocations: 8 kB / 0.8522 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003562/0.03643, allocations: 474.1 kB / 0.8526 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.03643, allocations: 4.062 kB / 0.8526 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008042/0.03724, allocations: 367.6 kB / 0.853 GB, free: 14.26 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.0003982/0.03763, allocations: 268 kB / 0.8532 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.03865, allocations: 0.7322 MB / 0.8539 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/0.03867, allocations: 12 kB / 0.854 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.03911, allocations: 231.3 kB / 0.8542 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006253/0.03974, allocations: 332.4 kB / 0.8545 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007314/0.04705, allocations: 1.718 MB / 0.8562 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.04721, allocations: 231.3 kB / 0.8564 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000337/0.04755, allocations: 119.2 kB / 0.8565 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.04796, allocations: 269.1 kB / 0.8568 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.034e-06/0.04796, allocations: 0 / 0.8568 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.02159/0.06955, allocations: 17.87 MB / 0.8742 GB, free: 8.734 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.026331382803619]