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.0009837/0.0009837, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.0009572/0.0009572, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 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.9655/0.9655, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.884/1.884, allocations: 377.8 MB / 0.6239 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.014e-06/2.014e-06, allocations: 0 / 0.8115 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.861e-05, allocations: 3.094 kB / 0.8115 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006692/0.006721, allocations: 4.356 MB / 0.8157 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0059/0.01262, allocations: 2.946 MB / 0.8186 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007718/0.01339, allocations: 28.91 kB / 0.8186 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.01461, allocations: 358.9 kB / 0.819 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.01645, allocations: 0.7092 MB / 0.8197 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.01823, allocations: 0.6783 MB / 0.8203 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.02072, allocations: 1.936 MB / 0.8222 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003026/0.02103, allocations: 123 kB / 0.8223 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.02245, allocations: 0.8268 MB / 0.8231 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.02352, allocations: 0.6175 MB / 0.8237 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.02377, allocations: 80 kB / 0.8238 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007577/0.02453, allocations: 407.3 kB / 0.8242 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.02491, allocations: 0.5071 MB / 0.8247 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003943/0.0253, allocations: 428 kB / 0.8251 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.02652, allocations: 1.141 MB / 0.8262 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.02653, allocations: 0 / 0.8262 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.783e-06/0.02653, allocations: 0.6562 kB / 0.8262 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.02655, allocations: 0 / 0.8262 GB, free: 2.996 MB / 0.7761 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.002084/0.02863, allocations: 1.715 MB / 0.8279 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.02867, allocations: 12.03 kB / 0.8279 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.02898, allocations: 181.1 kB / 0.8281 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009013/0.02988, allocations: 0.7459 MB / 0.8288 GB, free: 284 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.02991, allocations: 49.31 kB / 0.8289 GB, free: 232 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.02997, allocations: 61.72 kB / 0.8289 GB, free: 172 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.03044, allocations: 363.4 kB / 0.8293 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.03045, allocations: 192 / 0.8293 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.03048, allocations: 21.22 kB / 0.8293 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.03049, allocations: 12 kB / 0.8293 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.03073, allocations: 164.5 kB / 0.8295 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.03356, allocations: 2.096 MB / 0.8315 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/0.03443, allocations: 405 kB / 0.8319 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.03466, allocations: 106.8 kB / 0.832 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-05/0.03474, allocations: 28.36 kB / 0.832 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.03478, allocations: 41.77 kB / 0.8321 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=45): time 2.414e-06/0.03478, allocations: 0 / 0.8321 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.001102/0.03588, allocations: 473.1 kB / 0.8325 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.03592, allocations: 55.41 kB / 0.8326 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.03742, allocations: 1.146 MB / 0.8337 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.03746, allocations: 41.7 kB / 0.8337 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.03789, allocations: 0.5312 MB / 0.8342 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.03806, allocations: 186.4 kB / 0.8344 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.03833, allocations: 228.2 kB / 0.8346 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.03853, allocations: 0.5316 MB / 0.8352 GB, free: 9.625 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.03891, allocations: 206.2 kB / 0.8354 GB, free: 9.426 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.03959, allocations: 0.6675 MB / 0.836 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.04066, allocations: 0.9525 MB / 0.8369 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.04067, allocations: 4 kB / 0.8369 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001555/0.04222, allocations: 0.9742 MB / 0.8379 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.04225, allocations: 14.66 kB / 0.8379 GB, free: 6.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.04227, allocations: 12 kB / 0.8379 GB, free: 6.398 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.04254, allocations: 43.66 kB / 0.838 GB, free: 6.352 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.0435, allocations: 271.6 kB / 0.8382 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.04747, allocations: 9.073 MB / 0.8471 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.04826, allocations: 139 kB / 0.8472 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.04832, allocations: 40 kB / 0.8472 GB, free: 12.48 MB / 0.8073 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.0001923/0.04851, allocations: 212.5 kB / 0.8475 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.04867, allocations: 131.2 kB / 0.8476 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007582/0.04943, allocations: 398.1 kB / 0.848 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.04943, allocations: 11.94 kB / 0.848 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.04944, allocations: 0 / 0.848 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.04944, allocations: 0 / 0.848 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008311/0.05028, allocations: 0.622 MB / 0.8486 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.05028, allocations: 0 / 0.8486 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.05074, allocations: 111.8 kB / 0.8487 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/0.05093, allocations: 35.66 kB / 0.8487 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.05097, allocations: 15.98 kB / 0.8487 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009843/0.05196, allocations: 1.729 MB / 0.8504 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.05196, allocations: 4.125 kB / 0.8504 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009418/0.0529, allocations: 0.6325 MB / 0.851 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/0.05326, allocations: 195 kB / 0.8512 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.05339, allocations: 15.98 kB / 0.8512 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.05387, allocations: 23.97 kB / 0.8513 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.05397, allocations: 35.88 kB / 0.8513 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.054, allocations: 12 kB / 0.8513 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009716/0.05497, allocations: 0.6748 MB / 0.852 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.05497, allocations: 0 / 0.852 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001203/0.05618, allocations: 371.6 kB / 0.8523 GB, free: 7.078 MB / 0.8073 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.0006178/0.05679, allocations: 286.8 kB / 0.8526 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.05854, allocations: 0.8449 MB / 0.8534 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.05854, allocations: 256 / 0.8534 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.05891, allocations: 317.4 kB / 0.8537 GB, free: 5.578 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.05997, allocations: 230.1 kB / 0.8539 GB, free: 5.352 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.06338, allocations: 1.976 MB / 0.8559 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.06363, allocations: 235.2 kB / 0.8561 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004908/0.06412, allocations: 171.1 kB / 0.8563 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.06433, allocations: 68.48 kB / 0.8563 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/0.06433, allocations: 0 / 0.8563 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of Templates: time 0.01919/0.08352, allocations: 15.7 MB / 0.8717 GB, free: 3.48 MB / 0.823 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 -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.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.519251677906141]