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.0015/0.0015, 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.001077/0.001077, allocations: 173 kB / 24.28 MB, free: 280 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 1.004/1.004, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.776/1.776, allocations: 359 MB / 0.6055 GB, free: 11.03 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.613e-06/1.613e-06, allocations: 0 / 0.787 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.909e-05, allocations: 4.703 kB / 0.7871 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004491/0.00452, allocations: 4.334 MB / 0.7913 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.008606, allocations: 2.958 MB / 0.7942 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005987/0.009205, allocations: 31.75 kB / 0.7942 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008861/0.01009, allocations: 346.2 kB / 0.7945 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.01143, allocations: 0.7103 MB / 0.7952 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.01277, allocations: 0.6822 MB / 0.7959 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002316/0.01509, allocations: 1.936 MB / 0.7978 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.01537, allocations: 119.7 kB / 0.7979 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.01703, allocations: 0.8262 MB / 0.7987 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009244/0.01796, allocations: 0.6204 MB / 0.7993 GB, free: 304 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.01812, allocations: 76 kB / 0.7994 GB, free: 228 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007435/0.01887, allocations: 417.5 kB / 0.7998 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.01927, allocations: 0.5025 MB / 0.8003 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.01976, allocations: 415 kB / 0.8007 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.02121, allocations: 1.152 MB / 0.8018 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.02121, allocations: 0 / 0.8018 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.403e-06/0.02122, allocations: 3.188 kB / 0.8018 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.441e-05/0.02125, allocations: 0 / 0.8018 GB, free: 13.75 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.002421/0.02367, allocations: 1.709 MB / 0.8035 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.02371, allocations: 8.688 kB / 0.8035 GB, free: 12 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/0.02405, allocations: 176.1 kB / 0.8036 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.02501, allocations: 0.7507 MB / 0.8044 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.02504, allocations: 49.38 kB / 0.8044 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.02511, allocations: 60.38 kB / 0.8045 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.02557, allocations: 372.3 kB / 0.8048 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.02558, allocations: 192 / 0.8048 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.02561, allocations: 21.16 kB / 0.8049 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.02562, allocations: 8 kB / 0.8049 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.02586, allocations: 155 kB / 0.805 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.02817, allocations: 2.108 MB / 0.8071 GB, free: 8.203 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.0288, allocations: 407.5 kB / 0.8075 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.02895, allocations: 112.4 kB / 0.8076 GB, free: 7.68 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.229e-05/0.02901, allocations: 24.36 kB / 0.8076 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.02904, allocations: 37.77 kB / 0.8076 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 2.405e-06/0.02904, allocations: 0 / 0.8076 GB, free: 7.609 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.0008011/0.02984, allocations: 473.1 kB / 0.8081 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.02987, allocations: 55.41 kB / 0.8081 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.03088, allocations: 1.15 MB / 0.8093 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.03091, allocations: 41.7 kB / 0.8093 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.03122, allocations: 0.5273 MB / 0.8098 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.03133, allocations: 186.4 kB / 0.81 GB, free: 5.145 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.03152, allocations: 224.2 kB / 0.8102 GB, free: 4.918 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000398/0.03192, allocations: 0.5355 MB / 0.8107 GB, free: 4.375 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.03218, allocations: 206.2 kB / 0.8109 GB, free: 4.172 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.03262, allocations: 0.6713 MB / 0.8116 GB, free: 3.301 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/0.03336, allocations: 0.9447 MB / 0.8125 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.03337, allocations: 4 kB / 0.8125 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001096/0.03447, allocations: 0.9816 MB / 0.8135 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.03449, allocations: 8 kB / 0.8135 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.03452, allocations: 12 kB / 0.8135 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/0.03475, allocations: 48.16 kB / 0.8135 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.03538, allocations: 271.6 kB / 0.8138 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003285/0.03867, allocations: 9.073 MB / 0.8226 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.03938, allocations: 135 kB / 0.8228 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.03944, allocations: 40.34 kB / 0.8228 GB, free: 7.227 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.0002318/0.03967, allocations: 216.2 kB / 0.823 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.03981, allocations: 127.2 kB / 0.8231 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005186/0.04032, allocations: 394.1 kB / 0.8235 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.04033, allocations: 7.938 kB / 0.8235 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.04033, allocations: 0 / 0.8235 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.04034, allocations: 3.984 kB / 0.8235 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.04098, allocations: 0.6259 MB / 0.8241 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.04099, allocations: 0 / 0.8241 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.04129, allocations: 115.8 kB / 0.8242 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001373/0.04143, allocations: 31.66 kB / 0.8243 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.04146, allocations: 16 kB / 0.8243 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.04248, allocations: 1.732 MB / 0.826 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.04248, allocations: 3.984 kB / 0.826 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.04313, allocations: 0.6325 MB / 0.8266 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.0434, allocations: 198.9 kB / 0.8268 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.04348, allocations: 12 kB / 0.8268 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.04378, allocations: 31.95 kB / 0.8268 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.04385, allocations: 23.95 kB / 0.8269 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.04386, allocations: 20.08 kB / 0.8269 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006685/0.04453, allocations: 0.6748 MB / 0.8275 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.04453, allocations: 0 / 0.8275 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007942/0.04533, allocations: 371.6 kB / 0.8279 GB, free: 1.809 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.0004384/0.04577, allocations: 286.8 kB / 0.8282 GB, free: 1.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.04699, allocations: 0.8443 MB / 0.829 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.04699, allocations: 0 / 0.829 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.04725, allocations: 313.5 kB / 0.8293 GB, free: 328 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/0.04794, allocations: 242.3 kB / 0.8295 GB, free: 88 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.0507, allocations: 1.966 MB / 0.8314 GB, free: 14.08 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.05087, allocations: 235.3 kB / 0.8317 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00034/0.05121, allocations: 171.1 kB / 0.8318 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.05135, allocations: 60.5 kB / 0.8319 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of SimCode: time 1.413e-06/0.05135, allocations: 4 kB / 0.8319 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of Templates: time 0.02045/0.0718, allocations: 15.69 MB / 0.8472 GB, free: 14.23 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.477493915939704]