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.0009903/0.0009903, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001447/0.001447, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9902/0.9902, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.939/1.939, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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 1.843e-06/1.843e-06, allocations: 0 / 0.8115 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.96e-05, allocations: 8.359 kB / 0.8115 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005106/0.005135, allocations: 4.36 MB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004648/0.009783, allocations: 2.966 MB / 0.8187 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/0.01034, allocations: 27.75 kB / 0.8187 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000929/0.01126, allocations: 346.5 kB / 0.819 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.01268, allocations: 0.714 MB / 0.8197 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.01423, allocations: 0.6855 MB / 0.8204 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.01639, allocations: 1.934 MB / 0.8223 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.01666, allocations: 122.4 kB / 0.8224 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.01806, allocations: 0.8184 MB / 0.8232 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009859/0.01905, allocations: 0.6281 MB / 0.8238 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.01922, allocations: 77.34 kB / 0.8239 GB, free: 5.113 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000769/0.01999, allocations: 407.3 kB / 0.8243 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.02047, allocations: 0.5073 MB / 0.8247 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005037/0.02097, allocations: 423 kB / 0.8252 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.02243, allocations: 1.148 MB / 0.8263 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02244, allocations: 0.625 kB / 0.8263 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.253e-06/0.02244, allocations: 0.6562 kB / 0.8263 GB, free: 2.641 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.02246, allocations: 0 / 0.8263 GB, free: 2.641 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.002534/0.025, allocations: 1.715 MB / 0.828 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.02504, allocations: 8.031 kB / 0.828 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.02544, allocations: 174.8 kB / 0.8281 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.0266, allocations: 0.7557 MB / 0.8289 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.02663, allocations: 45.38 kB / 0.8289 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.633e-05/0.02673, allocations: 60.38 kB / 0.829 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.02729, allocations: 371.4 kB / 0.8293 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.02731, allocations: 192 / 0.8293 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.02734, allocations: 20.12 kB / 0.8293 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.02736, allocations: 12 kB / 0.8293 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.02767, allocations: 149.8 kB / 0.8295 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.03042, allocations: 2.106 MB / 0.8315 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/0.03425, allocations: 398.2 kB / 0.8319 GB, free: 12.69 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.03444, allocations: 112.4 kB / 0.832 GB, free: 12.58 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 7.391e-05/0.03451, allocations: 24.36 kB / 0.8321 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.03454, allocations: 41.77 kB / 0.8321 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=45): time 2.305e-06/0.03454, allocations: 0 / 0.8321 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.0009236/0.03547, allocations: 473.1 kB / 0.8325 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.0355, allocations: 55.41 kB / 0.8326 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.03673, allocations: 1.146 MB / 0.8337 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.03677, allocations: 41.7 kB / 0.8338 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/0.03713, allocations: 0.5351 MB / 0.8343 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.03728, allocations: 178.4 kB / 0.8345 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.03752, allocations: 232.2 kB / 0.8347 GB, free: 9.809 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.03769, allocations: 0.5277 MB / 0.8352 GB, free: 9.273 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.038, allocations: 210.2 kB / 0.8354 GB, free: 9.07 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/0.04061, allocations: 0.6713 MB / 0.836 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009206/0.04153, allocations: 0.9486 MB / 0.837 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.04154, allocations: 4 kB / 0.837 GB, free: 7.051 MB / 0.7917 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003354/0.04489, allocations: 0.9743 MB / 0.8379 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.04492, allocations: 14.69 kB / 0.8379 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/0.04494, allocations: 12 kB / 0.838 GB, free: 6.043 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.04519, allocations: 51.66 kB / 0.838 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008116/0.046, allocations: 263.7 kB / 0.8383 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006386/0.05239, allocations: 9.081 MB / 0.8471 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/0.05305, allocations: 139 kB / 0.8473 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003058/0.0561, allocations: 36 kB / 0.8473 GB, free: 12.12 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.0002313/0.05633, allocations: 216.2 kB / 0.8475 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.05648, allocations: 123.2 kB / 0.8476 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006381/0.05712, allocations: 402 kB / 0.848 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.05713, allocations: 7.938 kB / 0.848 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.05713, allocations: 0 / 0.848 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.05714, allocations: 3.984 kB / 0.848 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000743/0.05788, allocations: 0.6142 MB / 0.8486 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.05789, allocations: 0 / 0.8486 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/0.05828, allocations: 111.8 kB / 0.8487 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.05845, allocations: 39.66 kB / 0.8488 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.05848, allocations: 16 kB / 0.8488 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003891/0.06238, allocations: 1.732 MB / 0.8505 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.06238, allocations: 3.984 kB / 0.8505 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.06318, allocations: 0.6325 MB / 0.8511 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.06352, allocations: 202.9 kB / 0.8513 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.06361, allocations: 12 kB / 0.8513 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.064, allocations: 23.97 kB / 0.8513 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.06407, allocations: 31.94 kB / 0.8513 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.0641, allocations: 15.98 kB / 0.8514 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007819/0.06488, allocations: 0.6748 MB / 0.852 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.06488, allocations: 0 / 0.852 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004014/0.06889, allocations: 375.6 kB / 0.8524 GB, free: 6.711 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.0004872/0.06938, allocations: 274.8 kB / 0.8526 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.07084, allocations: 0.8452 MB / 0.8535 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.07084, allocations: 0 / 0.8535 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003328/0.07417, allocations: 317.7 kB / 0.8538 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/0.07505, allocations: 224.4 kB / 0.854 GB, free: 5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/0.08088, allocations: 1.978 MB / 0.8559 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.08108, allocations: 231.3 kB / 0.8561 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003827/0.08146, allocations: 171.1 kB / 0.8563 GB, free: 2.566 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.08164, allocations: 68.5 kB / 0.8564 GB, free: 2.5 MB / 0.8073 GB Notification: Performance of SimCode: time 1.212e-06/0.08164, allocations: 4 kB / 0.8564 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of Templates: time 0.02754/0.1092, allocations: 15.69 MB / 0.8717 GB, free: 3.125 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.864436386153102]