Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.0009666/0.0009666, allocations: 77.97 kB / 20.66 MB, free: 3.844 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.001105/0.001105, allocations: 169 kB / 24.06 MB, free: 456 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.9598/0.9598, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.066/2.066, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8793 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.443e-05, allocations: 5.219 kB / 0.8793 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer): time 0.003425/0.003449, allocations: 3.718 MB / 0.883 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002587/0.006036, allocations: 2.504 MB / 0.8854 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.006222, allocations: 19.81 kB / 0.8854 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004988/0.006721, allocations: 242.3 kB / 0.8857 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006683/0.007389, allocations: 0.548 MB / 0.8862 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006847/0.008074, allocations: 0.5726 MB / 0.8868 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009013/0.008975, allocations: 1.421 MB / 0.8882 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.009121, allocations: 89.73 kB / 0.8882 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005226/0.009644, allocations: 0.6119 MB / 0.8888 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004349/0.01008, allocations: 446.8 kB / 0.8893 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.01014, allocations: 52 kB / 0.8893 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.01025, allocations: 75.92 kB / 0.8894 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002375/0.01049, allocations: 382.9 kB / 0.8898 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.01069, allocations: 319.2 kB / 0.8901 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004585/0.01115, allocations: 0.6304 MB / 0.8907 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.01115, allocations: 0 / 0.8907 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.11e-07/0.01115, allocations: 0 / 0.8907 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.01116, allocations: 3.938 kB / 0.8907 GB, free: 10.43 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001189/0.01235, allocations: 1.312 MB / 0.892 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.01238, allocations: 12.03 kB / 0.892 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.01257, allocations: 140.3 kB / 0.8921 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.01307, allocations: 0.5391 MB / 0.8926 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.01309, allocations: 41.03 kB / 0.8927 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/0.01315, allocations: 60.31 kB / 0.8927 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.01342, allocations: 305 kB / 0.893 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01343, allocations: 192 / 0.893 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.01345, allocations: 19.94 kB / 0.893 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01346, allocations: 8 kB / 0.893 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.01357, allocations: 92.39 kB / 0.8931 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.0149, allocations: 2.003 MB / 0.8951 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.01544, allocations: 345.2 kB / 0.8954 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.857e-05/0.01551, allocations: 64.11 kB / 0.8955 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.01552, allocations: 4.234 kB / 0.8955 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.01554, allocations: 41.56 kB / 0.8955 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 2.515e-06/0.01554, allocations: 4 kB / 0.8955 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.0007866/0.01633, allocations: 0.6129 MB / 0.8961 GB, free: 4.602 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.01635, allocations: 55.41 kB / 0.8962 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.01689, allocations: 0.8385 MB / 0.897 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.01692, allocations: 41.7 kB / 0.897 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.01712, allocations: 447.7 kB / 0.8975 GB, free: 3.188 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.01719, allocations: 119 kB / 0.8976 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.01732, allocations: 192.2 kB / 0.8978 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.01748, allocations: 0.5897 MB / 0.8983 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.01756, allocations: 61.94 kB / 0.8984 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.01787, allocations: 0.649 MB / 0.899 GB, free: 1.297 MB / 0.8542 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008152/0.01868, allocations: 1.067 MB / 0.9001 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.01869, allocations: 4 kB / 0.9001 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0005681/0.01926, allocations: 0.6254 MB / 0.9007 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.01927, allocations: 15.92 kB / 0.9007 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.01928, allocations: 16 kB / 0.9007 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.01942, allocations: 56.28 kB / 0.9008 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.01976, allocations: 195.7 kB / 0.901 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007026/0.02046, allocations: 1.736 MB / 0.9026 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.02076, allocations: 36.11 kB / 0.9027 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.02079, allocations: 36 kB / 0.9027 GB, free: 13.13 MB / 0.8698 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[1] + con.RNod[2] + con.RNod[3]) con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (97): * Single equations (assignments): 96 * 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 prepare postOptimizeDAE: time 0.0001858/0.02098, allocations: 244.3 kB / 0.903 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.362e-05/0.02106, allocations: 91.44 kB / 0.903 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.81e-05/0.02112, allocations: 76.42 kB / 0.9031 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.02112, allocations: 4 kB / 0.9031 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.02112, allocations: 0 / 0.9031 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.02113, allocations: 3.984 kB / 0.9031 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007386/0.02187, allocations: 0.7397 MB / 0.9038 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02187, allocations: 4 kB / 0.9038 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.02209, allocations: 75.89 kB / 0.9039 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.02219, allocations: 35.78 kB / 0.904 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.02221, allocations: 8 kB / 0.904 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007295/0.02294, allocations: 1.721 MB / 0.9056 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02294, allocations: 0 / 0.9056 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.02328, allocations: 497.7 kB / 0.9061 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.02341, allocations: 115.4 kB / 0.9062 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.02346, allocations: 8 kB / 0.9062 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.02365, allocations: 15.92 kB / 0.9062 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.02369, allocations: 27.89 kB / 0.9063 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.0237, allocations: 16.06 kB / 0.9063 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000308/0.02401, allocations: 490.7 kB / 0.9068 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02401, allocations: 0 / 0.9068 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004269/0.02444, allocations: 204 kB / 0.907 GB, free: 8.574 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * 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 (29): * Single equations (assignments): 28 * 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 9.792e-05/0.02454, allocations: 115.1 kB / 0.9071 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004565/0.02499, allocations: 0.4903 MB / 0.9075 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.02499, allocations: 0 / 0.9075 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.02515, allocations: 266.7 kB / 0.9078 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.02563, allocations: 158.8 kB / 0.9079 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.0274, allocations: 1.395 MB / 0.9093 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/0.02758, allocations: 193.7 kB / 0.9095 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.02781, allocations: 85.55 kB / 0.9096 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.02821, allocations: 238.1 kB / 0.9098 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of SimCode: time 6.41e-07/0.02821, allocations: 0 / 0.9098 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of Templates: time 0.01415/0.04237, allocations: 10.27 MB / 0.9198 GB, free: 11.48 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer.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.636227152310312]