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.001255/0.001255, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001843/0.001843, allocations: 166.8 kB / 24.86 MB, free: 9.23 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 1.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.916/1.916, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] 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.893e-06/1.893e-06, allocations: 0 / 0.8127 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.951e-05, allocations: 9.125 kB / 0.8127 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00627/0.006299, allocations: 4.315 MB / 0.8169 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003924/0.01022, allocations: 2.938 MB / 0.8198 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000456/0.01068, allocations: 27.75 kB / 0.8198 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008589/0.01154, allocations: 354.7 kB / 0.8202 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.0128, allocations: 0.71 MB / 0.8209 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.01419, allocations: 0.6784 MB / 0.8215 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.0161, allocations: 1.94 MB / 0.8234 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.01638, allocations: 114.5 kB / 0.8235 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.01788, allocations: 0.8268 MB / 0.8243 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008532/0.01874, allocations: 0.6296 MB / 0.825 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.0189, allocations: 80 kB / 0.825 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006849/0.01958, allocations: 411.3 kB / 0.8254 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004112/0.01999, allocations: 0.5064 MB / 0.8259 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.02041, allocations: 415.9 kB / 0.8263 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.02164, allocations: 1.148 MB / 0.8274 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02164, allocations: 3.469 kB / 0.8274 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.02164, allocations: 0 / 0.8274 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.02166, allocations: 0 / 0.8274 GB, free: 2.395 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.001875/0.02354, allocations: 1.69 MB / 0.8291 GB, free: 0.6719 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.02357, allocations: 12.03 kB / 0.8291 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.02388, allocations: 180.1 kB / 0.8293 GB, free: 496 kB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007663/0.02464, allocations: 0.6951 MB / 0.83 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.02468, allocations: 46.45 kB / 0.83 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.02474, allocations: 68.31 kB / 0.8301 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.0251, allocations: 339.4 kB / 0.8304 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.02511, allocations: 9.25 kB / 0.8304 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.02514, allocations: 16.12 kB / 0.8304 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.02515, allocations: 12 kB / 0.8304 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.02531, allocations: 119.9 kB / 0.8305 GB, free: 15.13 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.02746, allocations: 2.078 MB / 0.8326 GB, free: 13 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006538/0.02811, allocations: 373.4 kB / 0.8329 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.02822, allocations: 96.38 kB / 0.833 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.185e-05/0.02829, allocations: 28.36 kB / 0.833 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.02831, allocations: 37.77 kB / 0.8331 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=45): time 1.783e-06/0.02831, allocations: 0 / 0.8331 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.0006824/0.02899, allocations: 433.1 kB / 0.8335 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.02902, allocations: 55.41 kB / 0.8335 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/0.02985, allocations: 1.11 MB / 0.8346 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.02988, allocations: 41.7 kB / 0.8347 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.03018, allocations: 0.5506 MB / 0.8352 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.03029, allocations: 178.5 kB / 0.8354 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.03048, allocations: 240.1 kB / 0.8356 GB, free: 9.809 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.03063, allocations: 0.5354 MB / 0.8361 GB, free: 9.266 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.03079, allocations: 158.2 kB / 0.8363 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.03116, allocations: 0.6283 MB / 0.8369 GB, free: 8.285 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.03177, allocations: 0.8743 MB / 0.8378 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.03178, allocations: 7.938 kB / 0.8378 GB, free: 7.207 MB / 0.7917 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0008786/0.03266, allocations: 0.8765 MB / 0.8386 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.03268, allocations: 15.98 kB / 0.8386 GB, free: 6.305 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.0327, allocations: 15.94 kB / 0.8386 GB, free: 6.289 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.03287, allocations: 43.66 kB / 0.8387 GB, free: 6.242 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.03344, allocations: 251.9 kB / 0.8389 GB, free: 5.996 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002985/0.03642, allocations: 9.054 MB / 0.8478 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.03696, allocations: 119 kB / 0.8479 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.03699, allocations: 36 kB / 0.8479 GB, free: 12.45 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.0001918/0.03719, allocations: 208.5 kB / 0.8481 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.03731, allocations: 135.2 kB / 0.8482 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.03775, allocations: 369.9 kB / 0.8486 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.03776, allocations: 4 kB / 0.8486 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.03776, allocations: 11.94 kB / 0.8486 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.03777, allocations: 0 / 0.8486 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.03826, allocations: 487 kB / 0.8491 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.03826, allocations: 0 / 0.8491 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.03853, allocations: 91.89 kB / 0.8492 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.03865, allocations: 39.66 kB / 0.8492 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.03868, allocations: 11.98 kB / 0.8492 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008164/0.03949, allocations: 1.717 MB / 0.8509 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.0395, allocations: 4.031 kB / 0.8509 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.04007, allocations: 0.5855 MB / 0.8515 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/0.04032, allocations: 183 kB / 0.8516 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.202e-05/0.0404, allocations: 16 kB / 0.8517 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.04068, allocations: 11.98 kB / 0.8517 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.04073, allocations: 31.94 kB / 0.8517 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.04075, allocations: 8 kB / 0.8517 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004659/0.04121, allocations: 0.6082 MB / 0.8523 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.04121, allocations: 0 / 0.8523 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007681/0.04198, allocations: 379.5 kB / 0.8527 GB, free: 7.391 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.0004247/0.04241, allocations: 294.7 kB / 0.8529 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.04343, allocations: 0.7871 MB / 0.8537 GB, free: 6.277 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.04343, allocations: 8.062 kB / 0.8537 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.04365, allocations: 301.1 kB / 0.854 GB, free: 5.953 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000661/0.04431, allocations: 228.5 kB / 0.8542 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.0465, allocations: 1.973 MB / 0.8562 GB, free: 3.719 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.04666, allocations: 235.2 kB / 0.8564 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.0469, allocations: 111.1 kB / 0.8565 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004305/0.04733, allocations: 306 kB / 0.8568 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of SimCode: time 1.223e-06/0.04733, allocations: 0 / 0.8568 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of Templates: time 0.02205/0.06938, allocations: 17.13 MB / 0.8735 GB, free: 2.273 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.730150212999433]