Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001031/0.001031, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.002718/0.002718, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9943/0.9943, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.724/1.724, allocations: 359 MB / 0.6052 GB, free: 10.99 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.3e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003823/0.003846, allocations: 4.366 MB / 0.7913 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.007231, allocations: 2.958 MB / 0.7942 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003605/0.007592, allocations: 28.28 kB / 0.7942 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007711/0.008363, allocations: 355 kB / 0.7946 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009853/0.009348, allocations: 0.7212 MB / 0.7953 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.01043, allocations: 0.6669 MB / 0.7959 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.01195, allocations: 1.944 MB / 0.7978 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.01219, allocations: 119.1 kB / 0.7979 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.0132, allocations: 0.8224 MB / 0.7988 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007618/0.01396, allocations: 0.6219 MB / 0.7994 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.01411, allocations: 80 kB / 0.7994 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006163/0.01473, allocations: 415.2 kB / 0.7998 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003659/0.01509, allocations: 0.5045 MB / 0.8003 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003501/0.01544, allocations: 415 kB / 0.8007 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.01663, allocations: 1.148 MB / 0.8018 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01664, allocations: 0 / 0.8018 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.572e-06/0.01664, allocations: 0 / 0.8018 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.01666, allocations: 4.625 kB / 0.8018 GB, free: 13.33 MB / 0.7605 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.00191/0.01857, allocations: 1.708 MB / 0.8035 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.01861, allocations: 8.031 kB / 0.8035 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.01892, allocations: 184 kB / 0.8037 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008153/0.01974, allocations: 0.7344 MB / 0.8044 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.01976, allocations: 46.72 kB / 0.8045 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.01983, allocations: 64.33 kB / 0.8045 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.02025, allocations: 371.3 kB / 0.8049 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.02027, allocations: 4.188 kB / 0.8049 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.02029, allocations: 20.81 kB / 0.8049 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.02031, allocations: 8.656 kB / 0.8049 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.02054, allocations: 158.3 kB / 0.8051 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.02263, allocations: 2.096 MB / 0.8071 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/0.02327, allocations: 418.7 kB / 0.8075 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.02341, allocations: 104.4 kB / 0.8076 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.588e-05/0.02348, allocations: 28.36 kB / 0.8076 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.0235, allocations: 37.77 kB / 0.8077 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.0235, allocations: 0 / 0.8077 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.0007281/0.02423, allocations: 461.2 kB / 0.8081 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.02426, allocations: 63.34 kB / 0.8082 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/0.02521, allocations: 1.146 MB / 0.8093 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.02525, allocations: 45.7 kB / 0.8093 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.02554, allocations: 0.5273 MB / 0.8098 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.02565, allocations: 182.5 kB / 0.81 GB, free: 4.742 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.02585, allocations: 228.2 kB / 0.8102 GB, free: 4.512 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.02599, allocations: 0.5355 MB / 0.8108 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.02623, allocations: 202.2 kB / 0.811 GB, free: 3.77 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.02666, allocations: 0.6714 MB / 0.8116 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/0.02737, allocations: 0.9447 MB / 0.8125 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.02738, allocations: 4 kB / 0.8125 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009967/0.02837, allocations: 0.974 MB / 0.8135 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.02839, allocations: 12 kB / 0.8135 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.02841, allocations: 12 kB / 0.8135 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.02862, allocations: 44.03 kB / 0.8135 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.02925, allocations: 279.6 kB / 0.8138 GB, free: 436 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002824/0.03207, allocations: 9.069 MB / 0.8227 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.0326, allocations: 135 kB / 0.8228 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.03264, allocations: 40 kB / 0.8228 GB, free: 6.832 MB / 0.7761 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.0001877/0.03283, allocations: 216.5 kB / 0.823 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.03294, allocations: 135.2 kB / 0.8232 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.0334, allocations: 386.2 kB / 0.8235 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.03341, allocations: 15.81 kB / 0.8236 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.03341, allocations: 0 / 0.8236 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.03341, allocations: 3.984 kB / 0.8236 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.03397, allocations: 0.622 MB / 0.8242 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.03398, allocations: 0 / 0.8242 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.03425, allocations: 115.8 kB / 0.8243 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.03437, allocations: 31.66 kB / 0.8243 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.0344, allocations: 12 kB / 0.8243 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006579/0.03506, allocations: 1.74 MB / 0.826 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.03506, allocations: 11.98 kB / 0.826 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.03566, allocations: 0.6286 MB / 0.8266 GB, free: 2.727 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.03589, allocations: 191 kB / 0.8268 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.03596, allocations: 12 kB / 0.8268 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.03624, allocations: 31.95 kB / 0.8269 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.0363, allocations: 27.95 kB / 0.8269 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.03631, allocations: 11.98 kB / 0.8269 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006053/0.03692, allocations: 0.6788 MB / 0.8276 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.03692, allocations: 0 / 0.8276 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007003/0.03762, allocations: 367.6 kB / 0.8279 GB, free: 1.414 MB / 0.7761 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.000432/0.03805, allocations: 292.8 kB / 0.8282 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.03922, allocations: 0.8523 MB / 0.829 GB, free: 244 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03922, allocations: 0 / 0.829 GB, free: 244 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.03948, allocations: 313.5 kB / 0.8293 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007082/0.04018, allocations: 231.7 kB / 0.8296 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.0425, allocations: 1.963 MB / 0.8315 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.04265, allocations: 231.2 kB / 0.8317 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.04297, allocations: 171 kB / 0.8319 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.04312, allocations: 64.5 kB / 0.8319 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of SimCode: time 1.232e-06/0.04312, allocations: 0 / 0.8319 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of Templates: time 0.02004/0.06316, allocations: 16.59 MB / 0.8481 GB, free: 12.93 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.425779104698449]